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

Issue 328443003: Remove impossible conditions from SelectorChecker::checkOne() (Closed)

Created:
6 years, 6 months ago by Inactive
Modified:
6 years, 6 months ago
Reviewers:
esprehn
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, dglazkov+blink, ed+blinkwatch_opera.com, rwlbuis, rune+blink
Visibility:
Public.

Description

Remove impossible conditions from SelectorChecker::checkOne() Remove impossible conditions from SelectorChecker::checkOne(). The code is in an if "(selector.m_match == CSSSelector::PseudoClass)" check scope so it is impossible for "selector.m_match == CSSSelector::Tag" to ever be true in the two conditions that are removed. This is based the following WebKit revision by benjamin@webkit.org: http://trac.webkit.org/changeset/156380 R=esprehn@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175839

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M Source/core/css/SelectorChecker.cpp View 2 chunks +2 lines, -2 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
Inactive
6 years, 6 months ago (2014-06-09 21:25:48 UTC) #1
esprehn
https://codereview.chromium.org/328443003/diff/1/Source/core/css/SelectorChecker.cpp File Source/core/css/SelectorChecker.cpp (right): https://codereview.chromium.org/328443003/diff/1/Source/core/css/SelectorChecker.cpp#newcode789 Source/core/css/SelectorChecker.cpp:789: // href and *:hover should not match anything. This ...
6 years, 6 months ago (2014-06-09 21:41:35 UTC) #2
Inactive
https://codereview.chromium.org/328443003/diff/1/Source/core/css/SelectorChecker.cpp File Source/core/css/SelectorChecker.cpp (right): https://codereview.chromium.org/328443003/diff/1/Source/core/css/SelectorChecker.cpp#newcode789 Source/core/css/SelectorChecker.cpp:789: // href and *:hover should not match anything. This ...
6 years, 6 months ago (2014-06-10 00:35:05 UTC) #3
esprehn
lgtm
6 years, 6 months ago (2014-06-10 00:47:58 UTC) #4
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 6 months ago (2014-06-10 00:52:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/328443003/1
6 years, 6 months ago (2014-06-10 00:53:54 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-10 01:02:52 UTC) #7
Message was sent while issue was closed.
Change committed as 175839

Powered by Google App Engine
This is Rietveld 408576698