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

Issue 140323003: Add UseCounter for case-insensitive attribute value selector matching (Closed)

Created:
6 years, 11 months ago by Jens Widell
Modified:
6 years, 11 months ago
Reviewers:
Mike West, dglazkov, eseidel
CC:
blink-reviews, dglazkov+blink, apavlov+blink_chromium.org, darktears
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Add UseCounter for case-insensitive attribute value selector matching More specifically, count the cases where the result would be different if a currently (automatically) case-insensitive attribute value match was made case-sensitive instead, as is the current status of the spec. BUG=327060 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165740

Patch Set 1 #

Total comments: 8

Patch Set 2 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -4 lines) Patch
M Source/core/css/SelectorChecker.cpp View 2 chunks +12 lines, -4 lines 0 comments Download
M Source/core/frame/UseCounter.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Jens Widell
Please take a look. This change inevitably slows down some selector matching (where we do ...
6 years, 11 months ago (2014-01-20 15:12:51 UTC) #1
Mike West
https://codereview.chromium.org/140323003/diff/1/Source/core/css/SelectorChecker.cpp File Source/core/css/SelectorChecker.cpp (right): https://codereview.chromium.org/140323003/diff/1/Source/core/css/SelectorChecker.cpp#newcode452 Source/core/css/SelectorChecker.cpp:452: bool caseSensitive = !element.document().isHTMLDocument() || HTMLDocument::isCaseSensitiveAttribute(selectorAttr); Why did you ...
6 years, 11 months ago (2014-01-23 09:21:13 UTC) #2
Mike West
https://codereview.chromium.org/140323003/diff/1/Source/core/frame/UseCounter.h File Source/core/frame/UseCounter.h (right): https://codereview.chromium.org/140323003/diff/1/Source/core/frame/UseCounter.h#newcode301 Source/core/frame/UseCounter.h:301: CaseInsensitiveAttrSelectorMatch, // Case-insensitivity dropped from specification. I'd suggest adding ...
6 years, 11 months ago (2014-01-23 09:22:53 UTC) #3
Jens Widell
https://codereview.chromium.org/140323003/diff/1/Source/core/css/SelectorChecker.cpp File Source/core/css/SelectorChecker.cpp (right): https://codereview.chromium.org/140323003/diff/1/Source/core/css/SelectorChecker.cpp#newcode452 Source/core/css/SelectorChecker.cpp:452: bool caseSensitive = !element.document().isHTMLDocument() || HTMLDocument::isCaseSensitiveAttribute(selectorAttr); On 2014/01/23 09:21:14, ...
6 years, 11 months ago (2014-01-23 09:38:49 UTC) #4
Mike West
https://codereview.chromium.org/140323003/diff/1/Source/core/css/SelectorChecker.cpp File Source/core/css/SelectorChecker.cpp (right): https://codereview.chromium.org/140323003/diff/1/Source/core/css/SelectorChecker.cpp#newcode452 Source/core/css/SelectorChecker.cpp:452: bool caseSensitive = !element.document().isHTMLDocument() || HTMLDocument::isCaseSensitiveAttribute(selectorAttr); On 2014/01/23 09:38:49, ...
6 years, 11 months ago (2014-01-23 10:08:24 UTC) #5
Jens Widell
https://codereview.chromium.org/140323003/diff/1/Source/core/css/SelectorChecker.cpp File Source/core/css/SelectorChecker.cpp (right): https://codereview.chromium.org/140323003/diff/1/Source/core/css/SelectorChecker.cpp#newcode452 Source/core/css/SelectorChecker.cpp:452: bool caseSensitive = !element.document().isHTMLDocument() || HTMLDocument::isCaseSensitiveAttribute(selectorAttr); On 2014/01/23 10:08:24, ...
6 years, 11 months ago (2014-01-23 10:27:21 UTC) #6
Mike West
I thought about this a little overnight, and I think I'm overanalyzing it. This counter ...
6 years, 11 months ago (2014-01-24 09:24:52 UTC) #7
Jens Widell
On 2014/01/24 09:24:52, Mike West wrote: > I thought about this a little overnight, and ...
6 years, 11 months ago (2014-01-24 09:34:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/140323003/100002
6 years, 11 months ago (2014-01-24 10:06:16 UTC) #9
commit-bot: I haz the power
6 years, 11 months ago (2014-01-24 13:37:16 UTC) #10
Message was sent while issue was closed.
Change committed as 165740

Powered by Google App Engine
This is Rietveld 408576698