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>
Status: RESOLVED FIXED    
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    
Attachments:
Description Flags
work-in-progress
none
Patch none

Dimitri Glazkov (Google)
Reported 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/
Attachments
work-in-progress (20.84 KB, patch)
2012-02-28 04:00 PST, Roland Steiner
no flags
Patch (25.73 KB, patch)
2012-03-01 22:30 PST, Roland Steiner
no flags
Roland Steiner
Comment 1 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.
Roland Steiner
Comment 2 2012-02-28 04:00:01 PST
Created attachment 129226 [details] work-in-progress
Roland Steiner
Comment 3 2012-03-01 22:30:50 PST
WebKit Review Bot
Comment 4 2012-03-02 05:27:42 PST
Comment on attachment 129821 [details] Patch Clearing flags on attachment: 129821 Committed r109563: <http://trac.webkit.org/changeset/109563>
WebKit Review Bot
Comment 5 2012-03-02 05:27:49 PST
All reviewed patches have been landed. Closing bug.
Ryosuke Niwa
Comment 7 2012-03-05 09:25:12 PST
Roland Steiner
Comment 8 2012-03-06 02:50:50 PST
found the culprit -> patch submitted in bug 80404
Note You need to log in before you can comment on or make changes to this bug.