- From: John Daggett <jdaggett@mozilla.com>
- Date: Wed, 27 Feb 2013 05:58:20 -0800 (PST)
- To: www-style list <www-style@w3.org>
As was decided at the last F2F, cascading variable properties are
referenced via a case-sensitive ident. However, the definition of
object model methods referred to in the CSS Variables spec such as
setProperty, lookup property values with a case *insensitive* lookup.
That needs to be tweaked for the variables case.
In other words, the two lines below return different values:
a = styleObj.getPropertyValue("var-foo");
b = styleObj.getPropertyValue("var-FOO");
I think the object model spec just needs to include steps for special
handling properties that begin with "var-".
Regards,
John
Received on Wednesday, 27 February 2013 13:58:48 UTC