Since styling for Shadow DOM relies on scoped stylesheet internal implementation, Shadow DOM want it even when <style scoped> is disabled.
Created attachment 161892 [details] Patch
Created attachment 162425 [details] Updated to ToT
Comment on attachment 162425 [details] Updated to ToT Dimitri, do you think we need this?
Comment on attachment 162425 [details] Updated to ToT No, not at the moment.
Created attachment 164165 [details] Patch
Comment on attachment 164165 [details] Patch What should be available without scoped style element?
(In reply to comment #6) > (From update of attachment 164165 [details]) > What should be available without scoped style element? Style scoping using ShadowRoot.
*** Bug 92053 has been marked as a duplicate of this bug. ***
Created attachment 167914 [details] Patch
This one is ready! I hope I could eliminated more guards. But scope related code in css/ isn't cleanly separated from StyleResolver yet, that makes me hesitate to eliminate these flags. I'm thinking about how we could refactor it, but I'd like to land this before further refactoring so that we can make sure the styling feature to be available for Shadow DOM regardless of <style scoped> availability.
Comment on attachment 167914 [details] Patch Clearing flags on attachment: 167914 Committed r130987: <http://trac.webkit.org/changeset/130987>
All reviewed patches have been landed. Closing bug.