Summary: | Can't style descendants in shadow tree using the :host pseudo class | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Emmanuel <egarciad> | ||||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | benjamin, cdumez, commit-queue, hyatt, kling, koivisto, rniwa, simon.fraser, webkit-bug-importer, zalan | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | Safari Technology Preview | ||||||||
Hardware: | All | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 148695 | ||||||||
Attachments: |
|
Description
Emmanuel
2016-08-10 15:01:37 PDT
Created attachment 286054 [details]
patch
This enables
:host(.foo) div { ... }
but doesn't cover
:host::after { ... }
case.
Comment on attachment 286054 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=286054&action=review > Source/WebCore/css/SelectorChecker.cpp:1039 > + const Node* contextualReferenceNode = !checkingContext.scope ? element.document().documentElement() : checkingContext.scope; Maybe auto or auto* here? Comment on attachment 286054 [details] patch Clearing flags on attachment: 286054 Committed r204724: <http://trac.webkit.org/changeset/204724> All reviewed patches have been landed. Closing bug. |