Bug 159916 - form.enctype / encoding / method should treat null as "null" string
Summary: form.enctype / encoding / method should treat null as "null" string
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://html.spec.whatwg.org/multipag...
Keywords: WebExposed
Depends on:
Blocks:
 
Reported: 2016-07-18 20:39 PDT by Chris Dumez
Modified: 2016-07-19 00:42 PDT (History)
6 users (show)

See Also:


Attachments
Patch (5.42 KB, patch)
2016-07-18 21:26 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.