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

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

From: timeless <timeless@gmail.com>
Date: Sun, 6 Dec 2015 13:21:30 -0500
Message-ID: <CAAKMeYjs+m3yx=-4_uXhdpjg4hHh0O=DXDJoYGt0Si2XtFYUcA@mail.gmail.com>
To: Florian Rivoal <florian@rivoal.net>
Cc: John Daggett <jdaggett@mozilla.com>, fantasai <fantasai.lists@inkedblade.net>, www-style <www-style@w3.org>
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"

John Daggett wrote:
> 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.

Florian wrote:
> 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".

you could try "at least one of them" instead, but you might want to
add "each one may occur at most once"

> I agree that repeating isn't what this is meant to allow,

> evidence that people are confused sounds like a legitimate reason for
> clarifying a sentence,
Received on Sunday, 6 December 2015 18:21:59 UTC

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