- From: <bugzilla@jessica.w3.org>
- Date: Thu, 05 Sep 2013 03:32:53 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23162 Bug ID: 23162 Summary: [Shadow]: ::part should be targetable through n-levels of ShadowDOM Classification: Unclassified Product: WebAppsWG Version: unspecified Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P2 Component: Component Model Assignee: dglazkov@chromium.org Reporter: sorvell@chromium.org QA Contact: public-webapps-bugzilla@w3.org Blocks: 14978 <style> ::part(woot) { background: green; } </style> Given this style at level n of a composed tree of ShadowDOM tree, this element should match if it's at level n+m of the composed tree where m is 0 or more. <div part="woot">w00t!</div> This would let developers use part to target elements through ShadowDOM without having to worry about whether or not elements are nested inside additional shadowRoots or even if they are in ShadowDOM at all. These would all match at the document level or inside a shadowRoot: <style> ::part(woot)</style> <div part="woot">match, w00t!</div> <div> SR <div> SR <div part="woot">match, w00t!</div> -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 5 September 2013 03:32:54 UTC