- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 14 Jun 2013 16:29:37 +0200
- 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 declaration. So, strong +1 from me. ~TJ
Received on Friday, 14 June 2013 14:30:28 UTC