diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-02-22 21:11:34 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-02-22 21:11:34 +0000 |
commit | 61891ada50f1407778292cf104c595192f73b17c (patch) | |
tree | 8c6f75f2eafd1cc602cf17f112b628c969495411 /frontends | |
parent | f367b23d7204ec2296419ba578e8f6ecaa9f0deb (diff) | |
download | netsurf-61891ada50f1407778292cf104c595192f73b17c.tar.gz netsurf-61891ada50f1407778292cf104c595192f73b17c.tar.bz2 |
validate the form button element type attribute as per spec
https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-type
says if the type attribute is anything but "reset" or "button" it
is of "submit" type. The previous logic was incorrect and only used
the button if its type was explicitly submit and noting else.
Diffstat (limited to 'frontends')
0 files changed, 0 insertions, 0 deletions