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

Re: [css-syntax] Multiple !values

From: Sebastian Zartner <sebastianzartner@gmail.com>
Date: Tue, 29 Oct 2013 12:03:34 +0100
Message-ID: <CAERejNaaBUStivCJN09pckFA=9SGhVu+-Yb230+gw+7yKXeJ6w@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: "www-style@w3.org list" <www-style@w3.org>
I'd suggest to make a survey again about what syntax is preferred. This
seemed already very helpful for making a decision on the drag
pseudo-classes.

Sebastian


On 29 October 2013 11:35, 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<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.
>
> --
> Simon Sapin
>
>
Received on Tuesday, 29 October 2013 11:04:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 29 October 2013 11:04:22 UTC