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

Issue 178253006: Output Element defaultValue should be based on textContent (Closed)

Created:
6 years, 10 months ago by Habib Virji
Modified:
6 years, 9 months ago
Reviewers:
keishi, tkent
CC:
blink-reviews, dglazkov+blink, adamk+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Output Element defaultValue should be based on textContent Default value based on textContent if flag is in mode default. R=tkent, keishi1 BUG=345788 TEST=Check default value based on textContent. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168703

Patch Set 1 #

Total comments: 8

Patch Set 2 : Test both defaultValue and value attributes #

Total comments: 2

Patch Set 3 : Updated code to not change value in defaultValue #

Patch Set 4 : Flag holding textContent value setting removed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -20 lines) Patch
M LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
Source/core/html/HTMLOutputElement.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/html/HTMLOutputElement.cpp View 1 2 3 5 chunks +4 lines, -17 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Habib Virji
6 years, 10 months ago (2014-02-25 09:57:14 UTC) #1
keishi
Thanks. lgtm. https://codereview.chromium.org/178253006/diff/1/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-value.js File LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-value.js (right): https://codereview.chromium.org/178253006/diff/1/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-value.js#newcode124 LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-value.js:124: var output1 = document.createElement('output'); nit: Maybe use ...
6 years, 9 months ago (2014-03-03 02:00:12 UTC) #2
Habib Virji
Updated as per review comments. https://codereview.chromium.org/178253006/diff/1/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-value.js File LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-value.js (right): https://codereview.chromium.org/178253006/diff/1/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-value.js#newcode124 LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-value.js:124: var output1 = document.createElement('output'); ...
6 years, 9 months ago (2014-03-04 11:11:17 UTC) #3
Habib Virji
The CQ bit was checked by habib.virji@samsung.com
6 years, 9 months ago (2014-03-04 11:34:21 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/habib.virji@samsung.com/178253006/20001
6 years, 9 months ago (2014-03-04 11:34:50 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 12:09:41 UTC) #6
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=17187
6 years, 9 months ago (2014-03-04 12:09:42 UTC) #7
keishi
On 2014/03/04 12:09:42, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 9 months ago (2014-03-04 13:07:49 UTC) #8
tkent
https://codereview.chromium.org/178253006/diff/20001/Source/core/html/HTMLOutputElement.cpp File Source/core/html/HTMLOutputElement.cpp (right): https://codereview.chromium.org/178253006/diff/20001/Source/core/html/HTMLOutputElement.cpp#newcode124 Source/core/html/HTMLOutputElement.cpp:124: setDefaultValue(value()); Updating m_defaultValue in the defaultValue getter smells bad ...
6 years, 9 months ago (2014-03-04 22:55:21 UTC) #9
Habib Virji
Updated code The scenario that was failing is - This was not setting A as ...
6 years, 9 months ago (2014-03-05 14:22:43 UTC) #10
tkent
Looks like we can remove m_isSetTextContentInProgress completely, and can replace setTextContextInternal with setTextContent.
6 years, 9 months ago (2014-03-05 23:46:01 UTC) #11
Habib Virji
On 2014/03/05 23:46:01, tkent wrote: > Looks like we can remove m_isSetTextContentInProgress completely, and can ...
6 years, 9 months ago (2014-03-06 15:05:40 UTC) #12
tkent
lgtm. The code becomes simpler. Great!
6 years, 9 months ago (2014-03-07 01:32:53 UTC) #13
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 9 months ago (2014-03-07 01:32:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/habib.virji@samsung.com/178253006/80001
6 years, 9 months ago (2014-03-07 01:33:06 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 01:47:10 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile
6 years, 9 months ago (2014-03-07 01:47:11 UTC) #17
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 9 months ago (2014-03-07 03:30:37 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/habib.virji@samsung.com/178253006/80001
6 years, 9 months ago (2014-03-07 03:30:45 UTC) #19
commit-bot: I haz the power
6 years, 9 months ago (2014-03-07 04:33:46 UTC) #20
Message was sent while issue was closed.
Change committed as 168703

Powered by Google App Engine
This is Rietveld 408576698