- From: <bugzilla@jessica.w3.org>
- Date: Wed, 14 Mar 2012 22:15:19 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15818 Dimitri Glazkov <dglazkov@chromium.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |annevk@opera.com --- Comment #2 from Dimitri Glazkov <dglazkov@chromium.org> 2012-03-14 22:15:17 UTC --- Here's what I am thinking. At Shadow DOM spec level, we add a new, simple API to add a stylesheet to ShadowRoot. This stylesheet will be explicitly read-only (no CSSOM): ShadowRoot.addStylesheet(url); ShadowRoot.removeStylesheet(url); Maybe it's a Map of some read-only CSSStyleSheet objects? This will allow authors pretty nice level of control over shared stylesheets. At the Custom Element spec level, we will need to come up with some sort of syntax to specify these shared stylesheets as URLs. Maybe: <element><link rel="stylesheet">... or something along the lines of Dominic's idea. Travis, Tony, Anne (as the former CSSOM editor) -- what do you think? -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Wednesday, 14 March 2012 22:15:21 UTC