Closed
Bug 1632647
Opened 5 years ago
Closed 4 years ago
:is() and :where() shouldn't parse combinators in :host selectors.
Categories
(Core :: CSS Parsing and Computation, task, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla78
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
:is() and :where() I believe right now allow you to write:
:host(:is(div .foo))
Which breaks encapsulation of the shadow tree and is wrong. We should probably not allow combinators in there (or never match, I guess, though not allowing it seems more consistent with what :host
already does).
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
See Also: → https://bugs.webkit.org/show_bug.cgi?id=212049
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/df17138614f6 Fix parsing of :is() and :where() to account for constraints from parent selectors. r=heycam
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/23711 for changes under testing/web-platform/tests
Can't merge web-platform-tests PR due to failing upstream checks: Github PR https://github.com/web-platform-tests/wpt/pull/23711 * Community-TC (pull_request) (https://community-tc.services.mozilla.com/tasks/groups/LQYc9Dq3ReudyAlo0xb2Zw)
Flags: needinfo?(emilio)
Assignee | ||
Comment 6•4 years ago
|
||
Seems like an error downloading chromedriver :)
Flags: needinfo?(emilio) → needinfo?(james)
Comment 7•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox78:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Upstream PR was closed without merging
Upstream PR merged by moz-wptsync-bot
Updated•4 years ago
|
Flags: needinfo?(james)
You need to log in
before you can comment on or make changes to this bug.
Description
•