RESOLVED FIXED 116239
[CSS] CSS Variables are case-sensitive
https://bugs.webkit.org/show_bug.cgi?id=116239
Summary [CSS] CSS Variables are case-sensitive
Claudio Saavedra
Reported 2013-05-16 12:05:44 PDT
The specifications are very clear about this: "Unlike other CSS properties, custom property names are case-sensitive. The "var-" prefix must be written in lower-case." The implementation is treating them as any other CSS property. This is a bug.
Attachments
Patch (6.92 KB, patch)
2013-05-16 13:12 PDT, Claudio Saavedra
no flags
Patch for landing (6.91 KB, patch)
2013-05-16 13:34 PDT, Claudio Saavedra
no flags
Claudio Saavedra
Comment 1 2013-05-16 13:12:23 PDT
Ryosuke Niwa
Comment 2 2013-05-16 13:17:06 PDT
Comment on attachment 201986 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=201986&action=review > Source/WebCore/ChangeLog:8 > + Test: fast/css/variables/case-sensitive.html This line should appear below the description. > Source/WebCore/ChangeLog:11 > + The CSS Variables specification states that variables are not > + case-sensitive, like other CSS properties. Please fix the change log per IRC discussion.
Claudio Saavedra
Comment 3 2013-05-16 13:34:20 PDT
Created attachment 201988 [details] Patch for landing
Claudio Saavedra
Comment 4 2013-05-16 14:04:39 PDT
Note You need to log in before you can comment on or make changes to this bug.