- 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>
Received on Tuesday, 24 June 2008 17:39:26 UTC
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. > Yes! 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. dave
Received on Tuesday, 24 June 2008 17:39:26 UTC