@scope Interacts Poorly with Style Sharing
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: dshin, Assigned: dshin)
References
(Blocks 1 open bug)
Details
Attachments
(7 files)
320 bytes,
text/html
|
Details | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
See attached test case, after bug 1886441. Discovered via cousin-sharing issue in WPT test.
Given a sibling or a cousin, we can't easily determine if one will be affected by a scoped style or not.
Updated•5 months ago
|
Assignee | ||
Comment 1•3 months ago
|
||
Supplanted by Bug 1876962 making :has
a revalidation selector.
Remaining reference was added during Bug 1869771, is still handled
by the revalidation logic (has-style-sharing-007.html
stil passes).
Updated•3 months ago
|
Assignee | ||
Comment 2•3 months ago
|
||
This lets us avoid having to run scope matching for revalidation
for elements that don't match scoped styles.
Depends on D212725
Pushed by dshin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/701c95daa818 Part 1 - Get rid of now-unused relative selector flags. r=firefox-style-system-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/39fc87365e1d Part 2 - Mark all elements considering scoped styles. r=firefox-style-system-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/429be2a21d43 Part 3 - Add scope revalidation to style sharing. r=firefox-style-system-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/35ccb8fc2227 Part 4 - Pull out mapping from "unique" selector attribute mappings. r=firefox-style-system-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/625bf36ec294 Part 5 - Add scope subject map and use it to early-reject elements that can't be scopes. r=firefox-style-system-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/d11ecdd691e5 Part 6 - Skip style sharing revalidation for trivial styles. r=firefox-style-system-reviewers,emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/47138 for changes under testing/web-platform/tests
Comment 10•2 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/701c95daa818
https://hg.mozilla.org/mozilla-central/rev/39fc87365e1d
https://hg.mozilla.org/mozilla-central/rev/429be2a21d43
https://hg.mozilla.org/mozilla-central/rev/35ccb8fc2227
https://hg.mozilla.org/mozilla-central/rev/625bf36ec294
https://hg.mozilla.org/mozilla-central/rev/d11ecdd691e5
Upstream PR merged by moz-wptsync-bot
Description
•