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

Issue 1972713002: Multiple :hover/:active incorrectly matching in quirks mode. (Closed)

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

Description

Multiple :hover/:active incorrectly matching in quirks mode. :hover and :active should only match links when not accompanied by other simple selectors in quirks mode. We failed to adhere for combinations of :hover and :active. Instead of just checking there is either a selector preceding or following in the compound, check if there is a selector preceding or a selector following in the compound which is neither :hover nor :active. R=rob.buis@samsung.com BUG=611090 Committed: https://crrev.com/8a262d51788ada7f1f9158049d3576c9b1b09b1a Cr-Commit-Position: refs/heads/master@{#393090}

Patch Set 1 #

Patch Set 2 : Fixed Windows compile error #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/fast/css/hover-active-quirks.html View 1 chunk +141 lines, -0 lines 2 comments Download
A third_party/WebKit/LayoutTests/fast/css/hover-active-quirks-expected.txt View 1 chunk +56 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/SelectorChecker.cpp View 1 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972713002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972713002/1
4 years, 7 months ago (2016-05-11 17:47:28 UTC) #2
rune
ptal
4 years, 7 months ago (2016-05-11 18:29:44 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972713002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972713002/20001
4 years, 7 months ago (2016-05-11 18:29:48 UTC) #6
rwlbuis
https://codereview.chromium.org/1972713002/diff/20001/third_party/WebKit/LayoutTests/fast/css/hover-active-quirks.html File third_party/WebKit/LayoutTests/fast/css/hover-active-quirks.html (right): https://codereview.chromium.org/1972713002/diff/20001/third_party/WebKit/LayoutTests/fast/css/hover-active-quirks.html#newcode57 third_party/WebKit/LayoutTests/fast/css/hover-active-quirks.html:57: <br><span>Should be green when active and not hovered:</span> When ...
4 years, 7 months ago (2016-05-11 21:30:34 UTC) #7
rune
https://codereview.chromium.org/1972713002/diff/20001/third_party/WebKit/LayoutTests/fast/css/hover-active-quirks.html File third_party/WebKit/LayoutTests/fast/css/hover-active-quirks.html (right): https://codereview.chromium.org/1972713002/diff/20001/third_party/WebKit/LayoutTests/fast/css/hover-active-quirks.html#newcode57 third_party/WebKit/LayoutTests/fast/css/hover-active-quirks.html:57: <br><span>Should be green when active and not hovered:</span> On ...
4 years, 7 months ago (2016-05-11 21:44:17 UTC) #8
rwlbuis
On 2016/05/11 21:44:17, rune wrote: > https://codereview.chromium.org/1972713002/diff/20001/third_party/WebKit/LayoutTests/fast/css/hover-active-quirks.html > File third_party/WebKit/LayoutTests/fast/css/hover-active-quirks.html (right): > > https://codereview.chromium.org/1972713002/diff/20001/third_party/WebKit/LayoutTests/fast/css/hover-active-quirks.html#newcode57 > ...
4 years, 7 months ago (2016-05-11 21:55:19 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-11 22:31:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972713002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972713002/20001
4 years, 7 months ago (2016-05-11 22:32:05 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-11 22:39:53 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 22:41:42 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8a262d51788ada7f1f9158049d3576c9b1b09b1a
Cr-Commit-Position: refs/heads/master@{#393090}

Powered by Google App Engine
This is Rietveld 408576698