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

Re: [css-variables] Remaining Issues

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 19 Jun 2013 10:29:47 -0700
Message-ID: <CAAWBYDCRgfBPUL3z+ZCuKYNajLCd6JDuxyByJ-gyo39YuWDedA@mail.gmail.com>
To: Henrik Andersson <henke@henke37.cjb.net>
Cc: Sebastian Zartner <sebastianzartner@gmail.com>, Lea Verou <lea@w3.org>, www-style list <www-style@w3.org>
On Wed, Jun 19, 2013 at 10:11 AM, Henrik Andersson
<henke@henke37.cjb.net> wrote:
> Tab Atkins Jr. skriver:
>> Yes, you can have *anything* in a custom property (except for the few
>> little bits of invalid tokens).
> Including blocks and entire rules?
> I don't think they are quite that flexible.

Yup, as Fran├žois demonstrated, they *are* that flexible.

Of course you can't *use* blocks or rules with var(), as var() is only
usable inside of properties, and no property accepts that kind of
thing.  But you can use it in JS.

Received on Wednesday, 19 June 2013 17:30:34 UTC

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