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

Issue 1768913002: Dynamic updation of checked and selected attributes should reflect correct :default status (Closed)

Created:
4 years, 9 months ago by ramya.v
Modified:
4 years, 9 months ago
Reviewers:
tkent
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Invalidate pseudo default state when checked and selected attributes are updated dynamically. Added tests to check if :default selector is reflected correctly in following cases. a)Updating type attribute of input element. b)Updating checked status of input element. c)Updating checked attribute of input element. d)Updating selected status of option element. e)Updating selected attribute of option element. BUG=591226 Committed: https://crrev.com/60169b204c832cf0f3ac5b1387b6532fe2238b1a Cr-Commit-Position: refs/heads/master@{#379743}

Patch Set 1 #

Total comments: 8

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 (+83 lines, -2 lines) Patch
M third_party/WebKit/LayoutTests/fast/css/pseudo-default-dynamic.html View 1 2 chunks +81 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLInputElement.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOptionElement.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
ramya.v
Hi tkent, PTAL! Please let me know if I have to check/handle any other dynamic ...
4 years, 9 months ago (2016-03-07 05:07:55 UTC) #2
tkent
https://codereview.chromium.org/1768913002/diff/1/third_party/WebKit/LayoutTests/fast/css/pseudo-default-dynamic.html File third_party/WebKit/LayoutTests/fast/css/pseudo-default-dynamic.html (right): https://codereview.chromium.org/1768913002/diff/1/third_party/WebKit/LayoutTests/fast/css/pseudo-default-dynamic.html#newcode128 third_party/WebKit/LayoutTests/fast/css/pseudo-default-dynamic.html:128: }, 'Adding a checkbox with checked attribute dynamically to ...
4 years, 9 months ago (2016-03-07 05:22:34 UTC) #3
ramya.v
Updated as per review comments. PTAL! Thanks https://codereview.chromium.org/1768913002/diff/1/third_party/WebKit/LayoutTests/fast/css/pseudo-default-dynamic.html File third_party/WebKit/LayoutTests/fast/css/pseudo-default-dynamic.html (right): https://codereview.chromium.org/1768913002/diff/1/third_party/WebKit/LayoutTests/fast/css/pseudo-default-dynamic.html#newcode128 third_party/WebKit/LayoutTests/fast/css/pseudo-default-dynamic.html:128: }, 'Adding ...
4 years, 9 months ago (2016-03-07 10:03:02 UTC) #5
tkent
lgtm https://codereview.chromium.org/1768913002/diff/20001/third_party/WebKit/Source/core/html/HTMLInputElement.cpp File third_party/WebKit/Source/core/html/HTMLInputElement.cpp (right): https://codereview.chromium.org/1768913002/diff/20001/third_party/WebKit/Source/core/html/HTMLInputElement.cpp#newcode725 third_party/WebKit/Source/core/html/HTMLInputElement.cpp:725: if (m_inputType->isCheckable()) Please remove this |if|. We may ...
4 years, 9 months ago (2016-03-07 15:23:50 UTC) #6
ramya.v
https://codereview.chromium.org/1768913002/diff/20001/third_party/WebKit/Source/core/html/HTMLInputElement.cpp File third_party/WebKit/Source/core/html/HTMLInputElement.cpp (right): https://codereview.chromium.org/1768913002/diff/20001/third_party/WebKit/Source/core/html/HTMLInputElement.cpp#newcode725 third_party/WebKit/Source/core/html/HTMLInputElement.cpp:725: if (m_inputType->isCheckable()) On 2016/03/07 15:23:50, tkent wrote: > Please ...
4 years, 9 months ago (2016-03-08 03:22:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1768913002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1768913002/40001
4 years, 9 months ago (2016-03-08 03:23:16 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-08 04:46:15 UTC) #12
commit-bot: I haz the power
4 years, 9 months ago (2016-03-08 04:47:33 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/60169b204c832cf0f3ac5b1387b6532fe2238b1a
Cr-Commit-Position: refs/heads/master@{#379743}

Powered by Google App Engine
This is Rietveld 408576698