W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > August 2012

[Bug 15818] [Shadow]: Consider a notion of shared stylesheet

From: <bugzilla@jessica.w3.org>
Date: Wed, 01 Aug 2012 16:39:11 +0000
Message-Id: <E1Swbx1-00076W-N9@jessica.w3.org>
To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15818

--- Comment #6 from Dimitri Glazkov <dglazkov@chromium.org> 2012-08-01 16:39:11 UTC ---
(In reply to comment #5)
> I'd prefer to keep the read-write nature of the CSS OM here if we can. That way
> a component author can apply tweaks to the core stylesheet dynamically which
> affect all shadow DOM subtrees referencing that stylesheet.
> 
> Also rather than passing an URL, what about passing a reference to an actual
> <link> or <style> element? This aligns more closely with the proposal for
> custom elements while providing a bit more flexibility for dynamic generation
> (e.g. if a framework wanted to inline all CSS as part of their JS file, then
> build out a <style> element at runtime).

Yes, I am leaning toward this as well.

-- 
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, 1 August 2012 16:39:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 August 2012 16:39:13 GMT