Bug 11871

Summary: Text-type input controls should update default attributes to match values
Product: WebKit Reporter: Kirby White <KwhiteRight>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ap, eric, tkent
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   

Kirby White
Reported 2006-12-18 18:39:28 PST
When the .value property of a text, password, or hidden input form control is changed in JavaScript, which changes the default for that property (i.e., what it gets reset() to), the default attribute value should change to match. This issue is visible in the second column of the fast/forms/input-value.html layout test, which should read all "after" to match IE's behavior.
Attachments
Kent Tamura
Comment 1 2011-06-23 00:41:44 PDT
No, the default value should not be changed in such case. The current WebKit behavior matches to IE9 and HTML5.
Note You need to log in before you can comment on or make changes to this bug.