Closed
Bug 1846755
Opened 2 years ago
Closed 1 year ago
:has invalidation WPT failure - target-pseudo-in-has.html
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
121 Branch
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: dshin, Assigned: dshin)
References
Details
Attachments
(1 file)
This fails but not due to :has invalidation - in fact, the location of the assertion failure is:
fragmentLink("fragment").click();
assert_true(fragment.matches(":target"));
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
When the test is opened, all three line items are grey, and the first turns green when the inspector is opened.
Comment 3•2 years ago
|
||
I'm not sure that :target
is guaranteed to change synchronously on fragment navigation. Test might need to wait on hashchange
or so?
Blocks: has-pseudo
Assignee | ||
Comment 4•1 year ago
|
||
There's no guarantee on element.click()
to :target
invalidation happening
synchronously; wait for hashchange
event to fire before testing for invalidation.
Updated•1 year ago
|
Assignee: nobody → dshin
Status: NEW → ASSIGNED
Pushed by dshin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/748270842d82
Make target-pseudo-in-has.html wait for `hashchange` event. r=layout-reviewers,emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/43005 for changes under testing/web-platform/tests
Comment 7•1 year ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox121:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•