Closed Bug 1768510 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33997 - [inert] Let modal dialogs escape inertness from ancestors

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox102 fixed)

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 33997 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/33997
Details from upstream follow.

Oriol Brufau <obrufau@igalia.com> wrote:

[inert] Let modal dialogs escape inertness from ancestors

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.

Bug: 1323680

TEST=external/wpt/inert/inert-with-modal-dialog-001.html
TEST=StyleResolverTest.IsInertWithAttributeAndDialog

Change-Id: Id2752ce3d1c8985b68b1d700710c3ff3eb100714

Reviewed-on: https://chromium-review.googlesource.com/3634684
WPT-Export-Revision: e39de1e452eb4c1f7b6ca8fd7cfe2d16155a0778

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 4 subtests

Status Summary

Firefox

OK : 1
PASS: 4

Chrome

OK : 1
PASS: 3
FAIL: 1

Safari

OK : 1
PASS: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ed748be105ef
[wpt PR 33997] - [inert] Let modal dialogs escape inertness from ancestors, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.