This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22508 - Should assume all supported properties are case-insensitive and normalize case
Summary: Should assume all supported properties are case-insensitive and normalize case
Status: RESOLVED FIXED
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-28 08:18 UTC by Simon Pieters
Modified: 2013-08-08 13:26 UTC (History)
0 users

See Also:


Attachments

Description Simon Pieters 2013-06-28 08:18:09 UTC
http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface

[[
If property is an ASCII case-insensitive match for a property of a declaration in the declarations, and that declaration's property is defined to be case-insensitive, return the serialization of that declaration's value.

If property is a case-sensitive match for a property of a declaration in the declarations, and that declaration's property is defined to be case-sensitive, return the serialization of that declaration's value.
]]

Variables have their own interface so CSSOM can assume that all properties are case-insensitive. Possibly normalize the case to lowercase.
Comment 1 Simon Pieters 2013-06-28 08:51:48 UTC
https://dvcs.w3.org/hg/csswg/rev/d0edbc72da76