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

Issue 844203002: Avoid looping through all attributes for attribute selector. (Closed)

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

Description

Avoid looping through all attributes for attribute selector. An attribute selector may only match a single attribute in a given element unless the selector matches all namespaces. Break the loop if the selector has no namespace, or if it has a specific namespace. R=esprehn@chromium.org BUG=447832 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188250

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -1 line) Patch
A LayoutTests/fast/css/namespaces/attribute-selectors-001.xml View 1 chunk +17 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/namespaces/attribute-selectors-001-expected.html View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/css/SelectorChecker.cpp View 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 8 (1 generated)
rune
5 years, 11 months ago (2015-01-11 00:57:14 UTC) #1
esprehn
This isn't going to help html documents because the CSSGrammar.y does: $$->setAttribute(QualifiedName(nullAtom, $3, nullAtom), CSSSelector::CaseSensitive); ...
5 years, 11 months ago (2015-01-12 18:13:35 UTC) #2
esprehn
On 2015/01/12 at 18:13:35, esprehn wrote: > This isn't going to help html documents because ...
5 years, 11 months ago (2015-01-12 18:14:34 UTC) #3
rune
On 2015/01/12 at 18:14:34, esprehn wrote: > On 2015/01/12 at 18:13:35, esprehn wrote: > > ...
5 years, 11 months ago (2015-01-12 18:34:55 UTC) #4
esprehn
lgtm
5 years, 11 months ago (2015-01-12 18:38:11 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/844203002/1
5 years, 11 months ago (2015-01-12 21:04:35 UTC) #7
commit-bot: I haz the power
5 years, 11 months ago (2015-01-12 22:17:39 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=188250

Powered by Google App Engine
This is Rietveld 408576698