Closed
Bug 1793012
Opened 2 years ago
Closed 1 years ago
:has() interacts poorly with style sharing
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
115 Branch
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: emilio, Assigned: dshin)
References
Details
Attachments
(1 file)
Test-case in bug 418039 comment 46.
There seems to be a bug when the parent element is next to an element of the same type
example: https://codepen.io/yukulele/pen/GRdxwwx?editors=0100
Assignee | ||
Updated•2 years ago
|
Severity: -- → S3
Assignee | ||
Comment 4•2 years ago
|
||
Another testcase likely in bug 1820835 comment 6.
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → dshin
Comment 5•2 years ago
|
||
(In reply to David Shin[:dshin] from comment #4)
Another testcase likely in bug 1820835 comment 6.
Buggy/sloppy test on my part. No wonder it failed in ways I didn't expect.
Rewritten, it now fails in ways I'd expect it to at this point :)
Keep up the good work!
Assignee | ||
Comment 6•2 years ago
|
||
Updated•2 years ago
|
Attachment #9331018 -
Attachment description: Bug 1793012: Do not use style sharing cache for any element that reached `:has()` in selector matching. r=emilio → Bug 1793012: Correct style sharing handling for any element that considered `:has()` in selector matching. r=emilio
Pushed by dshin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/895d9ffe6269
Correct style sharing handling for any element that considered `:has()` in selector matching. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/40228 for changes under testing/web-platform/tests
Comment 9•1 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 years ago
status-firefox115:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 115 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
•