diff options
author | Simen Heggestøyl <simenheg@gmail.com> | 2016-12-04 09:34:19 +0100 |
---|---|---|
committer | Simen Heggestøyl <simenheg@gmail.com> | 2016-12-04 09:51:12 +0100 |
commit | d993aaf9cdbb1d4f14c46b828f1c6caf17443c9b (patch) | |
tree | 0c34198a69fa6a0e2162de58e42fa34e784faed4 /lisp/textmodes/sgml-mode.el | |
parent | dd210a63dfdb1b021c8a6b5f29c8e6b0d428d5a2 (diff) | |
download | emacs-d993aaf9cdbb1d4f14c46b828f1c6caf17443c9b.tar.gz |
Add HTML5 attributes for the input element
* lisp/textmodes/sgml-mode.el (html-tag-alist): Add HTML5 attributes
for the input element.
Diffstat (limited to 'lisp/textmodes/sgml-mode.el')
-rw-r--r-- | lisp/textmodes/sgml-mode.el | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index 13c3cfbca40..f476cfbba04 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el @@ -1840,10 +1840,22 @@ This takes effect when first loading the library.") ("img" t ("align" ,@valign ("texttop") ("absmiddle") ("absbottom")) ("src") ("alt") ("width" "1") ("height" "1") ("border" "1") ("vspace" "1") ("hspace" "1") ("ismap" t)) - ("input" t ("size" ,@1-9) ("maxlength" ,@1-9) ("checked" t) ,name - ("type" ("text") ("password") ("checkbox") ("radio") - ("submit") ("reset")) - ("value")) + ("input" t ,name ("accept") ("alt") ("autocomplete" ("on") ("off")) + ("autofocus" t) ("checked" t) ("dirname") ("disabled" t) ("form") + ("formaction") + ("formenctype" ("application/x-www-form-urlencoded") + ("multipart/form-data") ("text/plain")) + ("formmethod" ("get") ("post")) + ("formnovalidate" t) + ("formtarget" ("_blank") ("_self") ("_parent") ("_top")) + ("height") ("inputmode") ("list") ("max") ("maxlength") ("min") + ("minlength") ("multiple" t) ("pattern") ("placeholder") + ("readonly" t) ("required" t) ("size") ("src") ("step") + ("type" ("hidden") ("text") ("search") ("tel") ("url") ("email") + ("password") ("date") ("time") ("number") ("range") ("color") + ("checkbox") ("radio") ("file") ("submit") ("image") ("reset") + ("button")) + ("value") ("width")) ("link" t ,@link) ("menu" ,@list) ("ol" ,@list ("type" ("A") ("a") ("I") ("i") ("1"))) |