WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
153519
Setting HTMLInputElement.value to null to set its value to the empty string
https://bugs.webkit.org/show_bug.cgi?id=153519
Summary
Setting HTMLInputElement.value to null to set its value to the empty string
Chris Dumez
Reported
2016-01-26 15:43:10 PST
Setting HTMLInputElement.value to null to set its value to the empty string: -
https://html.spec.whatwg.org/#htmlinputelement
-
http://heycam.github.io/webidl/#TreatNullAs
WebKit currently unsets the value attribute instead, which causes us to fallback to input.defaultValue if set. Firefox and Chrome behave correctly.
Attachments
Patch
(4.26 KB, patch)
2016-01-26 15:46 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2016-01-26 15:46:01 PST
Created
attachment 269938
[details]
Patch
WebKit Commit Bot
Comment 2
2016-01-26 17:16:25 PST
Comment on
attachment 269938
[details]
Patch Clearing flags on attachment: 269938 Committed
r195642
: <
http://trac.webkit.org/changeset/195642
>
WebKit Commit Bot
Comment 3
2016-01-26 17:16:29 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug