- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Wed, 19 Jun 2013 10:29:47 -0700
- 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. ~TJ
Received on Wednesday, 19 June 2013 17:30:34 UTC