Repository navigation
[inert] Let modal dialogs escape inertness from ancestors - #33997
Merged
Merged
Conversation
wpt-pr-bot
approved these changes
May 9, 2022
wpt-pr-bot
left a comment
Collaborator
There was a problem hiding this comment.
The review process for this patch is being conducted in the Chromium project.
chromium-wpt-export-bot
force-pushed
the
chromium-export-cl-3634684
branch
from
May 10, 2022 19:02
747c147 to
57406be
Compare
3 tasks done
chromium-wpt-export-bot
force-pushed
the
chromium-export-cl-3634684
branch
2 times, most recently
from
May 24, 2022 11:56
5712802 to
5a91fc6
Compare
If an ancestor of a modal <dialog> has the 'inert' attribute, the dialog and its subtree will no longer be inert. However, if the 'inert' attribute is in the <dialog> itself, then the subtree will still be inert. This aligns Blink with Gecko and WebKit. The spec conversation about this topic is in whatwg/html#7808 Bug: 1323680 TEST=external/wpt/inert/inert-with-modal-dialog-001.html TEST=StyleResolverTest.IsInertWithAttributeAndDialog Cq-Include-Trybots: luci.chromium.try:linux-blink-web-tests-force-accessibility-rel Change-Id: Id2752ce3d1c8985b68b1d700710c3ff3eb100714 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3634684 Reviewed-by: Aaron Leventhal <[email protected]> Reviewed-by: Mason Freed <[email protected]> Commit-Queue: Oriol Brufau <[email protected]> Cr-Commit-Position: refs/heads/main@{#1006974}
chromium-wpt-export-bot
force-pushed
the
chromium-export-cl-3634684
branch
from
May 24, 2022 18:47
5a91fc6 to
be0a42d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If an ancestor of a modal <dialog> has the 'inert' attribute, the dialog
and its subtree will no longer be inert.
However, if the 'inert' attribute is in the <dialog> itself, then the
subtree will still be inert.
This aligns Blink with Gecko and WebKit. The spec conversation about
this topic is in whatwg/html#7808
Bug: 1323680
TEST=external/wpt/inert/inert-with-modal-dialog-001.html
TEST=StyleResolverTest.IsInertWithAttributeAndDialog
Cq-Include-Trybots: luci.chromium.try:linux-blink-web-tests-force-accessibility-rel
Change-Id: Id2752ce3d1c8985b68b1d700710c3ff3eb100714
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3634684
Reviewed-by: Aaron Leventhal <[email protected]>
Reviewed-by: Mason Freed <[email protected]>
Commit-Queue: Oriol Brufau <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1006974}