Skip to content

Check popover stack when buttons are modified#37594

Merged
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-4115790
Jan 25, 2023
Merged

Check popover stack when buttons are modified#37594
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-4115790

Conversation

@chromium-wpt-export-bot

@chromium-wpt-export-bot chromium-wpt-export-bot commented Dec 20, 2022

Copy link
Copy Markdown
Collaborator

The popover stack is constructed by attributes set on buttons. When
those buttons are modified, it can break connections in the stack. This
patch adds checks to spots where buttons can be modified in order to fix
up the list by closing all popovers when a connection has been broken.

This patch also moves the disabled check for popover*target attributes
which Anne asked for here:
whatwg/html#8221 (comment)

Bug: 1307772, 1408546
Change-Id: I129cf2768abc717292b86ea26f7522019ce36d33
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4115790
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1096920}

@wpt-pr-bot wpt-pr-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-4115790 branch 3 times, most recently from 345c204 to e0ab538 Compare January 10, 2023 01:01
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-4115790 branch 5 times, most recently from de6079c to 555b64a Compare January 18, 2023 21:52
@chromium-wpt-export-bot chromium-wpt-export-bot changed the title Move disabled check for popover*target attributes Check popover stack when buttons are modified Jan 18, 2023
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-4115790 branch 3 times, most recently from 9472606 to ae26495 Compare January 25, 2023 17:36
The popover stack is constructed by attributes set on buttons.  When
those buttons are modified, it can break connections in the stack. This
patch adds checks to spots where buttons can be modified in order to fix
up the list by closing all popovers when a connection has been broken.

This patch also moves the disabled check for popover*target attributes
which Anne asked for here:
whatwg/html#8221 (comment)

Bug: 1307772, 1408546
Change-Id: I129cf2768abc717292b86ea26f7522019ce36d33
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4115790
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1096920}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants