CSS font-variation-settings does not handle uppercase axis names in variable fonts
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Oct 2016 00:39:09 +0000 (00:39 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Oct 2016 00:39:09 +0000 (00:39 +0000)
commit4d274dd2fbbfe2b65ce6b2a85a4db334d1574f91
treef79ab171c32144422c2147b12dec7cb0a9281d94
parentfaf64767fa2957550413f1d7752430f5c336426d
CSS font-variation-settings does not handle uppercase axis names in variable fonts
https://bugs.webkit.org/show_bug.cgi?id=163546

Reviewed by Dean Jackson.

Source/WebCore:

Remove the extra toASCIILower() call.

Test: fast/text/variations/case-axis-names.html

* css/parser/CSSParser.cpp:
(WebCore::CSSParser::parseFontVariationTag):

LayoutTests:

* fast/text/variations/case-axis-names-expected.html: Added.
* fast/text/variations/case-axis-names.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@207581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/text/variations/case-axis-names-expected.html [new file with mode: 0644]
LayoutTests/fast/text/variations/case-axis-names.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/css/parser/CSSParser.cpp