Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set expanded on buttons with popup triggering attributes
This CL sets kExpandedExpanded and kExpandedCollapsed for any HTMLButtonElement that contains a popup triggering attribute (togglepopup, showpopup, or hidepopup), and for which the target element is a valid kPopup popup (i.e. not a popup=hint or popup=async). Note that per guidance [1] this CL does not set HasPopup::kMenu at all. [1] openui/open-ui#329 Bug: 1307772 Change-Id: I7a344e49cfc7667c379937d19a636e29804879b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3617148 Auto-Submit: Mason Freed <[email protected]> Reviewed-by: Aaron Leventhal <[email protected]> Commit-Queue: Mason Freed <[email protected]> Cr-Commit-Position: refs/heads/main@{#1000811} NOKEYCHECK=True GitOrigin-RevId: 2e924a036dc1806ab62d2561abf6736e635469bc
- Loading branch information