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

Re: WebKit now supports CSS Variables

From: David Hyatt <hyatt@apple.com>
Date: Tue, 24 Jun 2008 12:38:39 -0500
To: Francois Remy <fremycompany_pub@yahoo.fr>
Cc: mikewse@hotmail.com, CSS 3 W3C Group <www-style@w3.org>
Message-id: <C8530592-0B21-4780-8D11-12453E60CB34@apple.com>
On Jun 24, 2008, at 5:30 AM, Francois Remy wrote:

> Also, I think your spec leak a "CSS Variables Center".
> Now, if we want to get, with the DOM (JS), all variables defined in  
> the page, we must walk all stylesheets and style rules.
> It should be great if we can have a "document.CSSVariables" object.


I think we should have document.computedCSSVariables along with  
document.getComputedCSSVariableRule.  The former would give you a  
computed CSSVariablesDeclaration of all the currently defined  
variables in your view, and the latter would let you obtain the  
"winning rule" for a given computed variable.

Received on Tuesday, 24 June 2008 17:39:26 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:37 UTC