DescriptionCompare :lang value case-insensitive in ASCII range
Compare :lang value case-insensitive in ASCII range, 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."
Add methods to be able to do a comparison that is case-insensitive
within the ASCII range to wtf.
Test taken from:
https://test.csswg.org/source/css21/syntax/case-sensitive-004.xht
Behavior matches Firefox.
[1] http://www.w3.org/TR/CSS21/syndata.html#characters
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195333
Patch Set 1 #Patch Set 2 : Add test #Patch Set 3 : V3 #Patch Set 4 : Add wtf unit test #
Total comments: 1
Patch Set 5 : Use EXPECT instead of ASSERT #
Messages
Total messages: 15 (4 generated)
|