- From: Cameron McCormack <cam@mcc.id.au>
- Date: Sat, 04 Aug 2012 13:27:38 +1000
- To: Florian Rivoal <florianr@opera.com>
- CC: "www-style@w3.org" <www-style@w3.org>
Florian Rivoal: > Instead, since it doesn't introduce any ambiguity or difficulty of > implementation, I propose that we allow white spaces before and after both. > > window.supportsCSS("color", "green"); //-> true > window.supportsCSS("color", "green "); //-> true > window.supportsCSS("color", " green"); //-> true > window.supportsCSS("color ", "green"); //-> true > window.supportsCSS(" color", "green"); //-> true I think that's fine. Comments in the value and normal CSS escaping should work too, but these shouldn't be allowed in the property value. (The value argument is parsed, but the property name argument is just trimmed and looked up as a string.)
Received on Saturday, 4 August 2012 03:28:14 UTC