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

Issue 387493003: Use [Reflect=value] for HTMLInputElement.defaultValue (Closed)

Created:
6 years, 5 months ago by Jens Widell
Modified:
6 years, 5 months ago
Reviewers:
haraken, Daniel Bratell
CC:
blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org, arv+blink, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Use [Reflect=value] for HTMLInputElement.defaultValue The HTML specification describes the defaultValue as reflecting the value content attribute. This was also how it was implemented, but unlike all other HTMLInputElement attributes that reflect content attributes, [Reflect] wasn't used for defaultValue. The C++ getter HTMLInputElement::defaultValue() is kept since it is used by other C++ code, and because it's name is a good documentation of what it returns (even if it really just reads the value content attribute.) This does not affect behavior in any way. BUG=392471 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177838

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -7 lines) Patch
M Source/core/html/HTMLInputElement.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/html/HTMLInputElement.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/html/HTMLInputElement.idl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Jens Widell
PTAL
6 years, 5 months ago (2014-07-10 12:48:48 UTC) #1
haraken
LGTM
6 years, 5 months ago (2014-07-10 13:02:46 UTC) #2
Jens Widell
The CQ bit was checked by jl@opera.com
6 years, 5 months ago (2014-07-10 14:07:11 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/387493003/1
6 years, 5 months ago (2014-07-10 14:07:20 UTC) #4
commit-bot: I haz the power
6 years, 5 months ago (2014-07-10 15:07:57 UTC) #5
Message was sent while issue was closed.
Change committed as 177838

Powered by Google App Engine
This is Rietveld 408576698