Bug 164675 - ::after and ::before don't work on :host
Summary: ::after and ::before don't work on :host
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 148695
  Show dependency treegraph
 
Reported: 2016-11-11 20:22 PST by Ryosuke Niwa
Modified: 2016-12-08 06:06 PST (History)
5 users (show)

See Also:


Attachments
Reduction (1.00 KB, text/html)
2016-11-11 20:25 PST, Ryosuke Niwa
no flags Details
patch (13.50 KB, patch)
2016-12-08 04:00 PST, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 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.
Comment 1 Ryosuke Niwa 2016-11-11 20:25:45 PST
Created attachment 294587 [details]
Reduction
Comment 2 Radar WebKit Bug Importer 2016-11-11 20:28:52 PST
<rdar://problem/29231874>
Comment 3 Antti Koivisto 2016-12-08 04:00:05 PST
Created attachment 296509 [details]
patch
Comment 4 Antti Koivisto 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.
Comment 5 WebKit Commit Bot 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>
Comment 6 WebKit Commit Bot 2016-12-08 06:06:00 PST
All reviewed patches have been landed.  Closing bug.