- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 29 Oct 2013 10:56:53 -0700
- To: Simon Sapin <simon.sapin@exyr.org>
- Cc: "www-style@w3.org list" <www-style@w3.org>
On Tue, Oct 29, 2013 at 3:35 AM, Simon Sapin <simon.sapin@exyr.org> wrote: > Hi, > > At the moment, the draft defines a single boolean flag on declarations for > !important. Issue 3 suggest generalizing that to arbitrary values. > > http://dev.w3.org/csswg/css-syntax/#issue-5cca2746 > > One possible use case that we discussed is adding type annotations to Custom > Properties for enabling interpolation: > > var-foo: red !type(color); > > However, as we don’t know yet which syntax we want… > > var-foo: red !important !type(color); > var-foo: red !important type(color); > var-foo: red !important, type: color; > > I suggest closing the issue for now and deferring this to a future level of > Syntax, when we have a CSS feature that uses this. I'm fine with closing it for now. That said, I prefer the single ! separating the value from the annotations, and annotations are a space-separated list of values. That is, your second option. I don't feel strongly about this, however. ~TJ
Received on Tuesday, 29 October 2013 17:57:43 UTC