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

Re: [css3-fonts] Re: Adding something to the current stack (smarter fallbacks)

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 19 Jan 2012 09:55:58 -0800
Message-ID: <CAAWBYDDV3X_4LETMna-4Q2WeP0qTypJNGZ_t1Y=8-KN2PbkONg@mail.gmail.com>
To: "Marat Tanalin | tanalin.com" <mtanalin@yandex.ru>
Cc: Brad Kemper <brad.kemper@gmail.com>, John Daggett <jdaggett@mozilla.com>, Matthew Wilcox <elvendil@gmail.com>, www-style@w3.org, ACJ <ego@acjs.net>
2012/1/19 Marat Tanalin | tanalin.com <mtanalin@yandex.ru>:
> 19.01.2012, 21:44, "Tab Atkins Jr." <jackalmage@gmail.com>:
>> This could also be addressed by something like:
>> background-image-4: url(whatever.png);
>> That seems somewhat easier to read - it's difficult to tell off-hand
>> what layer is being referenced in your example.
> Just thoughts: maybe background-image[4] (looks more array-like)?

That's not allowed by the grammar currently, though by the
error-recovery rules it would fail nicely (it'll eat content until the
next ";" or "}", like any malformed declaration). I agree that it
looks a little better.  My concern is that it looks a bit more like
mutating, rather than a separate property, so the fact that it works
within the normal cascade system might be confusing.

> Is there a draft for accessing individual items of CSS enumerations such as in multiple bg-layers case?

No.  It's been an off-and-on topic for some time, and is now coming
back into discussion.

Received on Thursday, 19 January 2012 17:56:49 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:09 UTC