W3C home > Mailing lists > Public > www-style@w3.org > January 2013

Re: [css3-syntax] `}` in selector mode with three ore more open rules

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 28 Jan 2013 15:19:25 -0800
Message-ID: <CAAWBYDDKXntyfdhzegZV1qeynD08PNUdpXeS2dtp74RhfJ2GYw@mail.gmail.com>
To: Simon Sapin <simon.sapin@kozea.fr>
Cc: www-style list <www-style@w3.org>
On Sat, Jan 26, 2013 at 4:57 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Sat, Jan 26, 2013 at 9:30 AM, Simon Sapin <simon.sapin@kozea.fr> wrote:
>> It was not obvious to me that the stylesheet is counted among the three. If
>> there is a reason to keep this behavior, please add a some explanation for
>> "three" in a note (and maybe the reason too).
>
> It's in the definition of "stack of open rules".
>
> I'll definitely add a note if I can figure out why I did this.

I couldn't figure out what I was trying to do with it.  Since the
behavior in the spec is clearly nonsensical, and I can't figure out
what I was trying to do, I can't fix it, and so I've just removed it.

The other clause didn't make any sense either, so I've fixed it up to
do the right thing - when you see a top-level } in a selector, it just
throws away the style rule being constructed, switches to the parent
rule's mode, and reprocesses the }.

~TJ
Received on Monday, 28 January 2013 23:20:11 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:04 GMT