Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Issue 1129313003: Compare :lang value case-insensitive in ASCII range (Closed)

Created:
5 years, 7 months ago by rwlbuis
Modified:
5 years, 7 months ago
Reviewers:
tkent, Timothy Loh
CC:
blink-reviews, dglazkov+blink, apavlov+blink_chromium.org, blink-reviews-css, darktears
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Compare :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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -1 line) Patch
A LayoutTests/fast/css/case-sensitive-004.xhtml View 1 1 chunk +46 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/case-sensitive-004-expected.xhtml View 1 1 chunk +18 lines, -0 lines 0 comments Download
M Source/core/css/SelectorChecker.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/wtf/text/StringImpl.h View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M Source/wtf/text/WTFStringTest.cpp View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
rwlbuis
PTAL. Sorry for the amount of reviews :)
5 years, 7 months ago (2015-05-08 00:06:57 UTC) #2
Timothy Loh
Similar comment to the other patch, but this one I'm not sure if it's actually ...
5 years, 7 months ago (2015-05-10 23:31:44 UTC) #3
rwlbuis
On 2015/05/10 23:31:44, Timothy Loh wrote: > Similar comment to the other patch, but this ...
5 years, 7 months ago (2015-05-11 20:36:47 UTC) #4
Timothy Loh
lgtm, but you might need to find a wtf/ OWNER. On 2015/05/11 20:36:47, rwlbuis wrote: ...
5 years, 7 months ago (2015-05-11 23:45:08 UTC) #5
rwlbuis
@tkent PTAL at the wtf change.
5 years, 7 months ago (2015-05-12 00:08:39 UTC) #7
rwlbuis
On 2015/05/11 23:45:08, Timothy Loh wrote: > lgtm, but you might need to find a ...
5 years, 7 months ago (2015-05-12 21:47:42 UTC) #8
tkent
Adding fooIgnoringASCIICase() functions is ok this time. Ideally, we should add TextCaseASCIIInsensitive to TextCaseSensitivity enum, ...
5 years, 7 months ago (2015-05-13 01:07:55 UTC) #9
rwlbuis
On 2015/05/13 01:07:55, Slow until end of May wrote: > Adding fooIgnoringASCIICase() functions is ok ...
5 years, 7 months ago (2015-05-13 21:17:18 UTC) #10
tkent
lgtm
5 years, 7 months ago (2015-05-13 23:30:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129313003/80001
5 years, 7 months ago (2015-05-13 23:30:35 UTC) #14
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 00:56:43 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195333

Powered by Google App Engine
This is Rietveld 408576698