Closed
Bug 1869771
Opened 2 years ago
Closed 2 years ago
:has() is not consistently applied in www.matuzo.at/blog/2022/100daysof-day50
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
123 Branch
| Tracking | Status | |
|---|---|---|
| firefox123 | --- | fixed |
People
(Reporter: emilio, Assigned: dshin)
References
()
Details
Attachments
(5 files, 1 obsolete file)
As reported in bug 418039 comment 82. See screenshot, border should be dotted.
David, can you look? This one is rather odd. Maybe some style sharing issue?
Flags: needinfo?(dshin)
| Reporter | ||
Comment 1•2 years ago
|
||
| Reporter | ||
Comment 2•2 years ago
|
||
Attachment #9368406 -
Attachment is obsolete: true
| Assignee | ||
Comment 3•2 years ago
|
||
- First
.sib's.cousingoes into the cache - Second
.sib's first.cousindoes style computation, then cascade, where we realize we can share because we match the 1)'s rules exactly while parents also share the style. - The reused style loses information on being considered for
:has()matching - Second
.sib's second.cousinnow shares style with the first
Flags: needinfo?(dshin)
| Assignee | ||
Updated•2 years ago
|
Severity: -- → S3
| Assignee | ||
Comment 4•2 years ago
|
||
Comment 5•2 years ago
|
||
Pushed by dshin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cac055166c6d
Prevent rule-based style sharing on elements that considered a relative selector. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/43714 for changes under testing/web-platform/tests
Comment 8•2 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox123:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 123 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
•