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

Issue 2095833003: :active pseudo class is not applied for element with display none. (Closed)

Created:
4 years, 6 months ago by ramya.v
Modified:
4 years, 5 months ago
Reviewers:
Timothy Loh, rune
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

:active pseudo class is not applied for element with display none. Handled for display none case. BUG=619206 Committed: https://crrev.com/86a54a0ee007a875d44bc4aebb7a3ad5d0cfae69 Cr-Commit-Position: refs/heads/master@{#402425}

Patch Set 1 #

Patch Set 2 : Added testcase #

Total comments: 10

Patch Set 3 : Updated as per review comments #

Patch Set 4 : Moved LocalStyleChange change to setActive from setHovered #

Patch Set 5 : Updated test case which require LocalStyleChange calculation from both setActive and setHover #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -7 lines) Patch
A third_party/WebKit/LayoutTests/fast/css/pseudo-active-display-none.html View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/pseudo-hover-active-display-none.html View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/pseudo-hover-active-display-none-expected.html View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ContainerNode.cpp View 1 2 3 4 1 chunk +12 lines, -7 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
ramya.v
PTAL! Thanks
4 years, 6 months ago (2016-06-24 10:47:10 UTC) #2
rune
https://codereview.chromium.org/2095833003/diff/20001/third_party/WebKit/LayoutTests/fast/css/pseudo-active-display-none.html File third_party/WebKit/LayoutTests/fast/css/pseudo-active-display-none.html (right): https://codereview.chromium.org/2095833003/diff/20001/third_party/WebKit/LayoutTests/fast/css/pseudo-active-display-none.html#newcode3 third_party/WebKit/LayoutTests/fast/css/pseudo-active-display-none.html:3: <head> Drop html and head. https://codereview.chromium.org/2095833003/diff/20001/third_party/WebKit/LayoutTests/fast/css/pseudo-active-display-none.html#newcode18 third_party/WebKit/LayoutTests/fast/css/pseudo-active-display-none.html:18: <body> drop ...
4 years, 6 months ago (2016-06-24 12:28:51 UTC) #3
ramya.v
PTAL! Thanks https://codereview.chromium.org/2095833003/diff/20001/third_party/WebKit/LayoutTests/fast/css/pseudo-active-display-none.html File third_party/WebKit/LayoutTests/fast/css/pseudo-active-display-none.html (right): https://codereview.chromium.org/2095833003/diff/20001/third_party/WebKit/LayoutTests/fast/css/pseudo-active-display-none.html#newcode3 third_party/WebKit/LayoutTests/fast/css/pseudo-active-display-none.html:3: <head> On 2016/06/24 12:28:51, rune wrote: > ...
4 years, 5 months ago (2016-06-27 06:28:01 UTC) #4
rune
On 2016/06/27 06:28:01, ramya.v wrote: > The else case is required in setHovered method, without ...
4 years, 5 months ago (2016-06-27 07:54:41 UTC) #5
ramya.v
On 2016/06/27 07:54:41, rune wrote: > On 2016/06/27 06:28:01, ramya.v wrote: > > > The ...
4 years, 5 months ago (2016-06-27 09:19:27 UTC) #6
rune
On 2016/06/27 09:19:27, ramya.v wrote: > Moved else part from setHovered to setActive in latest ...
4 years, 5 months ago (2016-06-27 09:39:18 UTC) #7
ramya.v
On 2016/06/27 09:39:18, rune wrote: > On 2016/06/27 09:19:27, ramya.v wrote: > > > Moved ...
4 years, 5 months ago (2016-06-27 12:01:55 UTC) #8
rune
lgtm
4 years, 5 months ago (2016-06-27 12:23:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2095833003/80001
4 years, 5 months ago (2016-06-28 03:36:19 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/253552)
4 years, 5 months ago (2016-06-28 06:07:04 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2095833003/80001
4 years, 5 months ago (2016-06-28 06:09:26 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-06-28 08:39:28 UTC) #16
commit-bot: I haz the power
4 years, 5 months ago (2016-06-28 08:41:02 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/86a54a0ee007a875d44bc4aebb7a3ad5d0cfae69
Cr-Commit-Position: refs/heads/master@{#402425}

Powered by Google App Engine
This is Rietveld 408576698