W3C home > Mailing lists > Public > www-style@w3.org > August 2012

Re: [css3-conditional] value of CSSSupportsRule.conditionText

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 5 Aug 2012 13:12:44 -0700
Message-ID: <CAAWBYDCwqbfkwBW4goP5QF61w_hswvdmCWUgxbCk+CA+_mdLtA@mail.gmail.com>
To: Cameron McCormack <cam@mcc.id.au>
Cc: Daniel Glazman <daniel.glazman@disruptive-innovations.com>, www-style@w3.org
On Sun, Aug 5, 2012 at 12:15 AM, Cameron McCormack <cam@mcc.id.au> wrote:
> Tab Atkins Jr.:
>> ...which Syntax also specifies. Everything here will be a bit simpler
>> once I finish up Syntax, as we'll have a clear and definite answer to
>> these kinds of questions (or at least a clear and definite base from
>> which to make alterations from).
> OK.  One thing to take care with then is ensuring that additional white
> space is inserted between number tokens (and probably some others) when
> serializing them abutting would cause them to be reparsed differently. For
> example with:
>   @supports (a: 1/**/.1) {}
> I think you would want the condition to be serialized either as "(a: 1 .1)"
> or "(a: 1 0.1)" and not "(a: 1.1)" or "(a: 10.1)", even though there was
> originally no white space token between the two numbers.

Good point.  I'll put an issue in Syntax for this.

Received on Sunday, 5 August 2012 20:13:32 UTC

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