summaryrefslogtreecommitdiff
path: root/content/content.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-02-22 21:11:34 +0000
committerVincent Sanders <vince@kyllikki.org>2019-02-22 21:11:34 +0000
commit61891ada50f1407778292cf104c595192f73b17c (patch)
tree8c6f75f2eafd1cc602cf17f112b628c969495411 /content/content.h
parentf367b23d7204ec2296419ba578e8f6ecaa9f0deb (diff)
downloadnetsurf-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 'content/content.h')
0 files changed, 0 insertions, 0 deletions