Summary: | Stop special-casing the empty string in HTMLInputElement.type setter | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||
Component: | DOM | Assignee: | Chris Dumez <cdumez> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | benjamin, commit-queue, kling, rniwa | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
URL: | https://html.spec.whatwg.org/multipage/forms.html#dom-input-type | ||||||||
Attachments: |
|
Description
Chris Dumez
2014-11-04 20:39:49 PST
Created attachment 241002 [details]
Patch
Comment on attachment 241002 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=241002&action=review > LayoutTests/fast/dom/HTMLInputElement/input-type-attribute.html:13 > +input.type = "button"; > +shouldBeEqualToString("input.type", "button"); We should do the assignment inside shouldBeEqualToString or in evalAndLog so that it's visible in the expected result. Created attachment 241033 [details]
Patch
Comment on attachment 241033 [details] Patch Clearing flags on attachment: 241033 Committed r175622: <http://trac.webkit.org/changeset/175622> All reviewed patches have been landed. Closing bug. |