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

Issue 1914933003: output should not match to :enabled or :disabled pseudo classes. (Closed)

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

Description

output should not match to :enabled or :disabled pseudo classes. As per the spec https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled https://html.spec.whatwg.org/multipage/scripting.html#concept-element-disabled BUG=605518 Committed: https://crrev.com/25bd6595e89a77312b6de294025f3c6632aa0485 Cr-Commit-Position: refs/heads/master@{#389712}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Updated as per review comments #

Total comments: 2

Patch Set 3 : Updated as per review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -5 lines) Patch
A third_party/WebKit/LayoutTests/fast/css/pseudo-enabled-disabled-output-element.html View 1 1 chunk +19 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/SelectorChecker.cpp View 1 2 1 chunk +1 line, -5 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLAnchorElement.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFormControlElement.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOptGroupElement.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOptionElement.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOptionElement.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOutputElement.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOutputElement.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
ramya.v
PTAL! Thanks
4 years, 8 months ago (2016-04-25 08:51:24 UTC) #2
tkent
https://codereview.chromium.org/1914933003/diff/1/third_party/WebKit/LayoutTests/fast/css/pseudo-enabled-disabled-output-element.html File third_party/WebKit/LayoutTests/fast/css/pseudo-enabled-disabled-output-element.html (right): https://codereview.chromium.org/1914933003/diff/1/third_party/WebKit/LayoutTests/fast/css/pseudo-enabled-disabled-output-element.html#newcode2 third_party/WebKit/LayoutTests/fast/css/pseudo-enabled-disabled-output-element.html:2: <script src="../../resources/js-test.js"></script> I recommend to use testharness.js for conformance ...
4 years, 8 months ago (2016-04-25 09:40:40 UTC) #3
ramya.v
PTAL! Thanks https://codereview.chromium.org/1914933003/diff/1/third_party/WebKit/LayoutTests/fast/css/pseudo-enabled-disabled-output-element.html File third_party/WebKit/LayoutTests/fast/css/pseudo-enabled-disabled-output-element.html (right): https://codereview.chromium.org/1914933003/diff/1/third_party/WebKit/LayoutTests/fast/css/pseudo-enabled-disabled-output-element.html#newcode2 third_party/WebKit/LayoutTests/fast/css/pseudo-enabled-disabled-output-element.html:2: <script src="../../resources/js-test.js"></script> On 2016/04/25 09:40:39, tkent wrote: ...
4 years, 7 months ago (2016-04-25 14:47:29 UTC) #4
tkent
https://codereview.chromium.org/1914933003/diff/20001/third_party/WebKit/Source/core/css/SelectorChecker.cpp File third_party/WebKit/Source/core/css/SelectorChecker.cpp (right): https://codereview.chromium.org/1914933003/diff/20001/third_party/WebKit/Source/core/css/SelectorChecker.cpp#newcode826 third_party/WebKit/Source/core/css/SelectorChecker.cpp:826: if (element.matchesEnabledPseudoClass()) I meant the code should be just ...
4 years, 7 months ago (2016-04-25 23:00:12 UTC) #5
ramya.v
PTAL! Thanks https://codereview.chromium.org/1914933003/diff/20001/third_party/WebKit/Source/core/css/SelectorChecker.cpp File third_party/WebKit/Source/core/css/SelectorChecker.cpp (right): https://codereview.chromium.org/1914933003/diff/20001/third_party/WebKit/Source/core/css/SelectorChecker.cpp#newcode826 third_party/WebKit/Source/core/css/SelectorChecker.cpp:826: if (element.matchesEnabledPseudoClass()) On 2016/04/25 23:00:12, tkent wrote: ...
4 years, 7 months ago (2016-04-26 05:27:00 UTC) #6
tkent
lgtm. Thank you for the cleaner code!
4 years, 7 months ago (2016-04-26 05:33:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1914933003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914933003/40001
4 years, 7 months ago (2016-04-26 05:34:04 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-04-26 06:57:35 UTC) #10
commit-bot: I haz the power
4 years, 7 months ago (2016-04-26 06:58:32 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/25bd6595e89a77312b6de294025f3c6632aa0485
Cr-Commit-Position: refs/heads/master@{#389712}

Powered by Google App Engine
This is Rietveld 408576698