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

Re: [css-variables] How to spec the OM for vars?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 24 Aug 2012 02:16:36 -0700
Message-ID: <50374674.2040903@mit.edu>
To: Glenn Adams <glenn@skynav.com>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style@w3.org
On 8/23/12 11:24 PM, Glenn Adams wrote:
> how about a hybrid approach? e.g., define the current set of CSS2.1
> properties found in CSS2Properties as individual attributes, and use g/s
> for other properties

What's the benefit?

> btw, i also notice that some browsers have a
> practice of leaving undefined those CSS2Properties they don't support
> semantically (e.g., FF doesn't define any of the aural props as IDL
> attributes on CSSStyleDeclaration [1])

Yes, only properties that are actually implemented are exposed.

-Boris
Received on Friday, 24 August 2012 09:17:15 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:58 GMT