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

Issue 751023002: Use SubSelector as relation on left-most selector (Closed)

Created:
6 years ago by rune
Modified:
6 years ago
Reviewers:
chrishtr
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
Project:
blink
Visibility:
Public.

Description

Use SubSelector as relation on left-most selector. Selectors used to end with a Descendant relation in the left-most simple selector. That didn't make any sense and it caused an accidental reset of the adjacent flag in selectorList traversal during feature set updating. R=chrishtr@chromium.org BUG=435923 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185966

Patch Set 1 #

Patch Set 2 : Make left-most relation() SubSelector, not Descendant. #

Patch Set 3 : SubSelector is not a combinator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -21 lines) Patch
A LayoutTests/fast/css/invalidation/sub-selector-adjacent-cancellation.html View 1 chunk +25 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/invalidation/sub-selector-adjacent-cancellation-expected.txt View 1 chunk +12 lines, -0 lines 0 comments Download
M Source/core/css/CSSSelector.h View 1 2 6 chunks +6 lines, -11 lines 0 comments Download
M Source/core/css/RuleFeature.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/RuleSet.cpp View 1 2 chunks +2 lines, -6 lines 0 comments Download
M Source/core/css/parser/BisonCSSParser-in.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/css/parser/CSSParserValues.cpp View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
rune
6 years ago (2014-11-24 16:28:52 UTC) #1
chrishtr
Are you referring to the issue mentioned in this FIXME? https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/css/CSSSelector.h&q=cssselector.h&sq=package:chromium&type=cs&l=299
6 years ago (2014-11-24 18:32:27 UTC) #2
rune
On 2014/11/24 18:32:27, chrishtr wrote: > Are you referring to the issue mentioned in this ...
6 years ago (2014-11-24 21:52:23 UTC) #3
chrishtr
On 2014/11/24 at 21:52:23, rune wrote: > On 2014/11/24 18:32:27, chrishtr wrote: > > Are ...
6 years ago (2014-11-24 21:53:21 UTC) #4
rune
On 2014/11/24 21:53:21, chrishtr wrote: > On 2014/11/24 at 21:52:23, rune wrote: > > On ...
6 years ago (2014-11-25 10:52:08 UTC) #5
chrishtr
lgtm
6 years ago (2014-11-25 17:44:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/751023002/40001
6 years ago (2014-11-25 17:45:23 UTC) #8
commit-bot: I haz the power
6 years ago (2014-11-25 19:35:49 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185966

Powered by Google App Engine
This is Rietveld 408576698