emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master d993aaf: Add HTML5 attributes for the input element


From: Simen Heggestøyl
Subject: [Emacs-diffs] master d993aaf: Add HTML5 attributes for the input element
Date: Sun, 4 Dec 2016 08:52:27 +0000 (UTC)

branch: master
commit d993aaf9cdbb1d4f14c46b828f1c6caf17443c9b
Author: Simen Heggestøyl <address@hidden>
Commit: Simen Heggestøyl <address@hidden>

    Add HTML5 attributes for the input element
    
    * lisp/textmodes/sgml-mode.el (html-tag-alist): Add HTML5 attributes
    for the input element.
---
 lisp/textmodes/sgml-mode.el |   20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 13c3cfb..f476cfb 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")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]