Do not compare case-insensitive for 16bit pseudo identifier
commit52e1f69c60afbf5322f601dba217fdd6da3eaf55
authorrob.buis@samsung.com <rob.buis@samsung.com>
Mon, 11 May 2015 06:36:05 +0000 (11 06:36 +0000)
committerrob.buis@samsung.com <rob.buis@samsung.com>
Mon, 11 May 2015 06:36:05 +0000 (11 06:36 +0000)
treea9df673c415e8dd62a3131f143e4d1d0dfa6ae3e
parentad2988bc888715ec2ee6c520cbda56e24a0ad3aa
Do not compare case-insensitive for 16bit pseudo identifier

Do not lower the 16-bit pseudo identifiers, they can't match the
internal recognized pseudo names which are all ASCII.
Relevant spec information [1]:
"All CSS syntax is case-insensitive within the ASCII range (i.e.,
[a-z] and [A-Z] are equivalent), except for parts that are not
under the control of CSS."

Test taken from:
https://test.csswg.org/source/css21/syntax/case-sensitive-003.xht

Behavior matches Firefox.

[1] http://www.w3.org/TR/CSS21/syndata.html#characters

Review URL: https://codereview.chromium.org/1135563002

git-svn-id: svn://svn.chromium.org/blink/trunk@195169 bbb929c8-8fbe-4397-9dbb-9b2b20218538
third_party/WebKit/LayoutTests/fast/css/case-sensitive-003-expected.xhtml [new file with mode: 0644]
third_party/WebKit/LayoutTests/fast/css/case-sensitive-003.xhtml [new file with mode: 0644]
third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp