[wpt-sync] Sync PR 35233 - Move AffectedBySubjectHas flag to HasInvalidationFlags.
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox105 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 35233 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/35233
Details from upstream follow.
Byungwoo Lee <blee@igalia.com> wrote:
Move AffectedBySubjectHas flag to HasInvalidationFlags.
:has() invalidation doesn't work properly when the :has() pseudo
class is in the subject position and the 'display' property of the
:has() anchor element is 'none' since the 'AffectedBySubjectHas'
flag is in the computed style extra fields.To fix the bug, this CL moves the AffectedBySubjectHas flag to the
HasInvalidationFlags so that the flag can be stored in the element
rare data.Like the other :has() related flags in HasInvalidationFlags, the
AffectedBySubjectHas flag will not be cleared after the flag is set.Bug: 1347181
Change-Id: I98d68c87433f7c1a9a169ea1c471993336216f1d
Reviewed-on: https://chromium-review.googlesource.com/3787517
WPT-Export-Revision: 96bc2119cd441f7fa44055f167b51d304e90fb72
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=5a1810a7ecfab60dcd467ef3d85ce8566bfcbc41
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 0 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
PASS
: 1
Safari
OK
: 1
PASS
: 1
Links
Details
Firefox-only Failures
- /css/selectors/invalidation/subject-has-invalidation-with-display-none-anchor-element.html [wpt.fyi]
- CSS Selectors Invalidation: subject :has() invalidation with display: none anchor element:
FAIL
- CSS Selectors Invalidation: subject :has() invalidation with display: none anchor element:
New Tests That Don't Pass
- /css/selectors/invalidation/subject-has-invalidation-with-display-none-anchor-element.html [wpt.fyi]
- CSS Selectors Invalidation: subject :has() invalidation with display: none anchor element:
FAIL
(Chrome:PASS
, Safari:PASS
)
- CSS Selectors Invalidation: subject :has() invalidation with display: none anchor element:
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/eadb96e446df [wpt PR 35233] - Move AffectedBySubjectHas flag to HasInvalidationFlags., a=testonly https://hg.mozilla.org/integration/autoland/rev/44afc30ccd66 [wpt PR 35233] - Update wpt metadata, a=testonly
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/eadb96e446df
https://hg.mozilla.org/mozilla-central/rev/44afc30ccd66
Description
•