Closed Bug 1945620 Opened 15 days ago Closed 13 days ago

[wpt-sync] Sync PR 50460 - Inert attribute should not cause html inertness

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Inert attribute should not cause html inertness

Per spec the inert attribute should set inertness through a UA style
rule: [inert] { interactivity:inert }. That means inertness can be
escaped in the subtree by setting interactivity:auto.

Since inertness can be escaped, and inert UA style can be mixed with
interactivity set through author styling, the kAXInertElement and
kAXInertSubtree difference no longer makes sense. This CL introduces a
new kAXInertStyle, but currently maps to "inertElement" for devtools
since devtools currently does not know about "inertStyle".

This CL no longer considers inertness inside display:none or display
locked subtrees for which ComputedStyle is null, because the existing
code that looks up InertRoot(), ignores any styles that would have
modified the effect of the inert attribute if styles were computed for
those elements.

Change-Id: Ibee1d47b8a504025b6afb2f2d753e72ba0f6b444
Bug: 370065759
Reviewed-on: https://chromium-review.googlesource.com/6217059
WPT-Export-Revision: 4dd96f9ae973e57f3d6b7b99dba549123d91c3ea

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/871aa89ad543 [wpt PR 50460] - Inert attribute should not cause html inertness, a=testonly
Status: NEW → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.