Bug 159916

Summary: form.enctype / encoding / method should treat null as "null" string
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, commit-queue, darin, dbates, rniwa
Priority: P2 Keywords: WebExposed
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://html.spec.whatwg.org/multipage/forms.html#htmlformelement
Attachments:
Description Flags
Patch none

Description Chris Dumez 2016-07-18 20:39:19 PDT
form.enctype / encoding / method should treat null as "null" string:
- https://html.spec.whatwg.org/multipage/forms.html#htmlformelement

Currently, WebKit treats null as the null String, which ends up removing the existing attribute.

Firefox and Chrome match the specification.
Comment 1 Chris Dumez 2016-07-18 21:26:49 PDT
Created attachment 283976 [details]
Patch
Comment 2 WebKit Commit Bot 2016-07-19 00:42:16 PDT
Comment on attachment 283976 [details]
Patch

Clearing flags on attachment: 283976

Committed r203401: <http://trac.webkit.org/changeset/203401>
Comment 3 WebKit Commit Bot 2016-07-19 00:42:21 PDT
All reviewed patches have been landed.  Closing bug.