[wpt-sync] Sync PR 50460 - Inert attribute should not cause html inertness
Categories
(Core :: Layout, task, P4)
Tracking
()
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
Assignee | ||
Updated•15 days ago
|
Assignee | ||
Comment 1•15 days ago
|
||
Assignee | ||
Comment 2•15 days ago
|
||
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
- /css/css-ui/interactivity-inert-click-002.html [wpt.fyi]
- Click event should work when interactivity:auto overrides inert attribute UA style:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Click event should work when interactivity:auto overrides inert attribute UA style:
Comment 4•13 days ago
|
||
bugherder |
Description
•