W3C home > Mailing lists > Public > www-style@w3.org > December 2015

Re: [css-values] repeated values with the double-bar (||) combinator are invalid?

From: Florian Rivoal <florian@rivoal.net>
Date: Fri, 4 Dec 2015 10:20:57 +0900
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style <www-style@w3.org>
Message-Id: <DA4EBC50-462D-4F88-AD5D-29753439DED6@rivoal.net>
To: John Daggett <jdaggett@mozilla.com>

> On 04 Dec 2015, at 08:48, John Daggett <jdaggett@mozilla.com> wrote:
> fantasai wrote:
> > The wording doesn't say anywhere that you can repeat them, it just
> > says (literally, via grammatical transform) that "one or more of the
> > options separated by || must occur, in any order"
> > 
> > So I think the spec is quite clear. Where would you get the idea of
> > repeating from?
> I think the intent is clear but I'm not sure "repeated values are
> invalid" follows explicitly from the spec wording.
> The issue came up in the context of 'font-variant-east-asian'. The
> latest Webkit builds accept 'font-variant-east-asian: ruby simplified
> ruby' but Firefox rejects this as invalid so the results differ.

If anyone's actually confused (rather than the example given by John
being due to not paying attention), it may stem from "one or more".
I agree that repeating isn't what this is meant to allow, but evidence
that people are confused sounds like a legitimate reason for clarifying
a sentence, even if it looks perfectly clear to its authors (and to me).

 - Florian
Received on Friday, 4 December 2015 01:21:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:58 UTC