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.
Created attachment 201986 [details]
Comment on attachment 201986 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=201986&action=review
> + Test: fast/css/variables/case-sensitive.html
This line should appear below the description.
> + The CSS Variables specification states that variables are not
> + case-sensitive, like other CSS properties.
Please fix the change log per IRC discussion.
Created attachment 201988 [details]
Patch for landing
Committed r150207: <http://trac.webkit.org/changeset/150207>