- From: Ian Hickson <ian@hixie.ch>
- Date: Wed, 7 Mar 2012 22:18:16 +0000 (UTC)
- To: HTML WG <public-html@w3.org>
- cc: www-style list <www-style@w3.org>
On Wed, 7 Mar 2012, Boris Zbarsky wrote: > > I've been looking into scoped stylesheets, and I'm not sure that the way > the spec currently places them in the CSS cascade makes sense. If the > intent is for them to be used for styling a particular subtree, it seems > like they should probably come later than global document sheets in the > cascade; otherwise you can end up with global sheets accidentally > overriding scoped styles, which makes it difficult to really use scoped > styles effectively. I'm happy to change the scoping to work with new cascade levels, but it's hard to spec that cleanly without supporting infrastructure on the CSS side, so I'd rather only do that if the relevant CSS specs can first be changed to support the concept of multiple nested cascade levels. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 7 March 2012 22:18:46 UTC