W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: <style scoped> and the cascade

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 07 Mar 2012 15:35:32 -0800
Message-ID: <4F57F0C4.9070102@inkedblade.net>
To: Ian Hickson <ian@hixie.ch>
CC: Boris Zbarsky <bzbarsky@mit.edu>, "www-style@w3.org" <www-style@w3.org>
On 03/07/2012 02:18 PM, Ian Hickson wrote:
> 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.

I think we're a little low on editing capacity for that, unless someone
competent steps up here. However, if you want to edit CSS3 Cascade, I'm
willing to clean up the draft and sync it to CSS2.1 for you. (I'll need
a WG resolution to drop the old alternate-style stuff that's in there,
and Håkon's ok to reorganize his draft, but that's probably easier to get
than convincing you to edit. :)

(I can help with process stuff. I'm good at that. But I don't have the
bandwidth to actually work on another module.)

Received on Wednesday, 7 March 2012 23:36:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:13 UTC