Bug 79549

Summary: Scoped stylesheets don't appear to work in Shadow DOM
Product: WebKit Reporter: Dimitri Glazkov (Google) <dglazkov>
Component: DOMAssignee: Roland Steiner <rolandsteiner>
Severity: Normal CC: cmarcelo, koivisto, macpherson, menard, rniwa, rolandsteiner, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://dglazkov.github.com/Web-Components-Polyfill/
Bug Depends on:    
Bug Blocks: 59827    
Description Flags
Patch none

Description Dimitri Glazkov (Google) 2012-02-24 18:57:02 PST
* Create a shadow DOM subtree
* Add scoped stylesheet to it
* Observe that the styles don't match anything in the shadow DOM tree.

Last checked at r108661.

For an example, see: http://dglazkov.github.com/Web-Components-Polyfill/
Comment 1 Roland Steiner 2012-02-28 02:53:09 PST
Indeed! :P   Attempting to use the host element as "anchor" for the style scope is probably a bad idea in the first place - working on a patch.
Comment 2 Roland Steiner 2012-02-28 04:00:01 PST
Created attachment 129226 [details]
Comment 3 Roland Steiner 2012-03-01 22:30:50 PST
Created attachment 129821 [details]
Comment 4 WebKit Review Bot 2012-03-02 05:27:42 PST
Comment on attachment 129821 [details]

Clearing flags on attachment: 129821

Committed r109563: <http://trac.webkit.org/changeset/109563>
Comment 5 WebKit Review Bot 2012-03-02 05:27:49 PST
All reviewed patches have been landed.  Closing bug.
Comment 7 Ryosuke Niwa 2012-03-05 09:25:12 PST
See https://bugs.webkit.org/show_bug.cgi?id=79963#c13 for further information.
Comment 8 Roland Steiner 2012-03-06 02:50:50 PST
found the culprit -> patch submitted in bug 80404