Bug 164675

Summary: ::after and ::before don't work on :host
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dino, hyatt, koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 148695    
Attachments:
Description Flags
Reduction
none
patch none

Ryosuke Niwa
Reported 2016-11-11 20:22:19 PST
Reported by https://polymerlabs.github.io/wc-demos/ :host:after and :host:before don't work inside a shadow tree.
Attachments
Reduction (1.00 KB, text/html)
2016-11-11 20:25 PST, Ryosuke Niwa
no flags
patch (13.50 KB, patch)
2016-12-08 04:00 PST, Antti Koivisto
no flags
Ryosuke Niwa
Comment 1 2016-11-11 20:25:45 PST
Created attachment 294587 [details] Reduction
Radar WebKit Bug Importer
Comment 2 2016-11-11 20:28:52 PST
Antti Koivisto
Comment 3 2016-12-08 04:00:05 PST
Antti Koivisto
Comment 4 2016-12-08 04:02:42 PST
Note that the patch does not make https://polymerlabs.github.io/wc-demos/ subtest turn green because the test expects slightly different serialization for 'content' (' vs "). Rendering is correct.
WebKit Commit Bot
Comment 5 2016-12-08 06:05:56 PST
Comment on attachment 296509 [details] patch Clearing flags on attachment: 296509 Committed r209535: <http://trac.webkit.org/changeset/209535>
WebKit Commit Bot
Comment 6 2016-12-08 06:06:00 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.