Summary: | REGRESSION(r94274): The inner text value of an input element is not updated when input.value is set | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||||||
Component: | Frames | Assignee: | Ryosuke Niwa <rniwa> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | ap, darin, dglazkov, isherman, jhawkins, morrita, tkent, zelidrag | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Come to think of it, this is yet another regression from r94274 :(. (In reply to comment #1) > Come to think of it, this is yet another regression from r94274 :(. To my defense, there were no tests for suggested values prior to http://trac.webkit.org/changeset/94586. Created attachment 106514 [details]
fixes the bug
Created attachment 106522 [details]
added PASS/FAIL per ap's request
Comment on attachment 106522 [details]
added PASS/FAIL per ap's request
ok
(In reply to comment #5) > (From update of attachment 106522 [details]) > ok Thanks! Comment on attachment 106522 [details] added PASS/FAIL per ap's request Clearing flags on attachment: 106522 Committed r94637: <http://trac.webkit.org/changeset/94637> All reviewed patches have been landed. Closing bug. |
Created attachment 106508 [details] DRT test When HTMLInputElement::setValue, we don't reset m_suggestedValue until after updateInnerTextValue is called. As a result, the inner text value is not updated to new value.