- From: <bugzilla@jessica.w3.org>
- Date: Tue, 06 Aug 2013 16:00:50 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22892 Bug ID: 22892 Summary: [Shadow]: What (if anything) does <style scoped> do, when it is a child of a shadow host? Classification: Unclassified Product: WebAppsWG Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: Component Model Assignee: dglazkov@chromium.org Reporter: dglazkov@chromium.org QA Contact: public-webapps-bugzilla@w3.org CC: hayato@chromium.org, tasak@google.com Blocks: 14978 Consider this situation: <style> p { color: green; } <div id="foo"> <style scoped> p { color: red; } </style> </div> <script> var root = document.querySelector('#foo').createShadowRoot(); root.innerHTML = "<content></content><p>What color am I?</p> </script> My intuition tells me that we should simply disallow these shenanigans, and the color of p is green. In other words, a scoped style that is a child of a shadow host does not do anything. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 6 August 2013 16:00:51 UTC