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

Re: [css-syntax][css-variables] Extend !important to !<anything>*

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 14 Jun 2013 16:29:37 +0200
Message-ID: <CAAWBYDBV1AymVZ7_2NcwVdZ0hnKr5zU447bYvRKO+ryJBy+hYw@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: www-style <www-style@w3.org>
On Fri, Jun 14, 2013 at 2:04 PM, Simon Sapin <simon.sapin@exyr.org> wrote:
> I think we should generalize the !important syntax to enable more
> annotations of the same kind. We should do it now, even if we don’t define
> any such annotation yet.
> Immediate proposal:
>   Change <any-value> in Variables to not accept a top-level '!' token. This
> reserves '!' in a declaration value followed by anything, for future
> extension.
> Later proposal:
>   Instead of an "important" flag, declarations at the Syntax level have a
> set of "annotations". The order of annotations is not significant. Each
> annotation is a list of component values, like the declaration value.

I was *just about* to send this email myself.  I agree with every
detail - declarations should have a "value" and a "bang value" or
"annotation value", both of which are lists of tokens.  You switch
into "annotation mode" when you see the first ! delim token in the

So, strong +1 from me.

Received on Friday, 14 June 2013 14:30:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC