]> code.delx.au - gnu-emacs-elpa/commitdiff
Align event-handler-attribute checking with spec
authorMichael[tm] Smith <mike@w3.org>
Sun, 27 Dec 2015 12:11:22 +0000 (21:11 +0900)
committerMichael[tm] Smith <mike@w3.org>
Sun, 27 Dec 2015 12:11:22 +0000 (21:11 +0900)
Fixes https://bugzilla.validator.nu/show_bug.cgi?id=1026

core-scripting.rnc
embed.rnc
meta.rnc

index 0569d0e58d777919fe71421ec0b8f393772ddac2..534e4caa36b738711c2ba12ae3005f1db8c35b9c 100644 (file)
@@ -115,17 +115,22 @@ datatypes w = "http://whattf.org/datatype-draft"
 
        common.attrs.scripting &=
                (       scripting.attr.onabort?
+               &       scripting.attr.onautocomplete?
+               &       scripting.attr.onautocompleteerror?
                &       scripting.attr.onblur?
+               &       scripting.attr.oncancel?
                &       scripting.attr.oncanplay?
                &       scripting.attr.oncanplaythrough?
                &       scripting.attr.onchange?
                &       scripting.attr.onclick?
                &       scripting.attr.onclose?
+               &       scripting.attr.oncuechange?
                &       scripting.attr.oncontextmenu?
                &       scripting.attr.ondblclick?
                &       scripting.attr.ondrag?
                &       scripting.attr.ondragend?
                &       scripting.attr.ondragenter?
+               &       scripting.attr.ondragexit?
                &       scripting.attr.ondragleave?
                &       scripting.attr.ondragover?
                &       scripting.attr.ondragstart?
@@ -145,26 +150,31 @@ datatypes w = "http://whattf.org/datatype-draft"
                &       scripting.attr.onloadedmetadata?
                &       scripting.attr.onloadstart?
                &       scripting.attr.onmousedown?
+               &       scripting.attr.onmouseenter?
+               &       scripting.attr.onmouseleave?
                &       scripting.attr.onmousemove?
                &       scripting.attr.onmouseout?
                &       scripting.attr.onmouseover?
                &       scripting.attr.onmouseup?
-               &       scripting.attr.onmousewheel?
+               &       scripting.attr.onwheel?
                &       scripting.attr.onpause?
                &       scripting.attr.onplay?
                &       scripting.attr.onplaying?
                &       scripting.attr.onprogress?
                &       scripting.attr.onratechange?
                &       scripting.attr.onreset?
+               &       scripting.attr.onresize?
                &       scripting.attr.onscroll?
                &       scripting.attr.onseeked?
                &       scripting.attr.onseeking?
                &       scripting.attr.onselect?
                &       scripting.attr.onshow?
+               &       scripting.attr.onsort?
                &       scripting.attr.onstalled?
                &       scripting.attr.onsubmit?
                &       scripting.attr.onsuspend?
                &       scripting.attr.ontimeupdate?
+               &       scripting.attr.ontoggle?
                &       scripting.attr.onvolumechange?
                &       scripting.attr.onwaiting?
                )
@@ -173,10 +183,16 @@ datatypes w = "http://whattf.org/datatype-draft"
 
        scripting.attr.onabort =
                attribute onabort { common.data.functionbody }
+       scripting.attr.onautocomplete =
+               attribute onautocomplete { common.data.functionbody }
+       scripting.attr.onautocompleteerror =
+               attribute onautocompleteerror { common.data.functionbody }
        scripting.attr.onblur =
                attribute onblur { common.data.functionbody }
        scripting.attr.oncanplay =
                attribute oncanplay { common.data.functionbody }
+       scripting.attr.oncancel =
+               attribute oncancel { common.data.functionbody }
        scripting.attr.oncanplaythrough =
                attribute oncanplaythrough { common.data.functionbody }
        scripting.attr.onchange =
@@ -187,6 +203,8 @@ datatypes w = "http://whattf.org/datatype-draft"
                attribute onclose { common.data.functionbody }
        scripting.attr.oncontextmenu =
                attribute oncontextmenu { common.data.functionbody }
+       scripting.attr.oncuechange =
+               attribute oncuechange { common.data.functionbody }
        scripting.attr.ondblclick =
                attribute ondblclick { common.data.functionbody }
        scripting.attr.ondrag =
@@ -195,6 +213,8 @@ datatypes w = "http://whattf.org/datatype-draft"
                attribute ondragend { common.data.functionbody }
        scripting.attr.ondragenter =
                attribute ondragenter { common.data.functionbody }
+       scripting.attr.ondragexit =
+               attribute ondragexit { common.data.functionbody }
        scripting.attr.ondragleave =
                attribute ondragleave { common.data.functionbody }
        scripting.attr.ondragover =
@@ -237,6 +257,10 @@ datatypes w = "http://whattf.org/datatype-draft"
                attribute onloadstart { common.data.functionbody }
        scripting.attr.onmousedown =
                attribute onmousedown { common.data.functionbody }
+       scripting.attr.onmouseenter =
+               attribute onmouseenter { common.data.functionbody }
+       scripting.attr.onmouseleave =
+               attribute onmouseleave { common.data.functionbody }
        scripting.attr.onmousemove =
                attribute onmousemove { common.data.functionbody }
        scripting.attr.onmouseout =
@@ -245,8 +269,8 @@ datatypes w = "http://whattf.org/datatype-draft"
                attribute onmouseover { common.data.functionbody }
        scripting.attr.onmouseup =
                attribute onmouseup { common.data.functionbody }
-       scripting.attr.onmousewheel =
-               attribute onmousewheel { common.data.functionbody }
+       scripting.attr.onwheel =
+               attribute onwheel { common.data.functionbody }
        scripting.attr.onpause =
                attribute onpause { common.data.functionbody }
        scripting.attr.onplay =
@@ -259,6 +283,8 @@ datatypes w = "http://whattf.org/datatype-draft"
                attribute onratechange { common.data.functionbody }
        scripting.attr.onreset =
                attribute onreset { common.data.functionbody }
+       scripting.attr.onresize =
+               attribute onresize { common.data.functionbody }
        scripting.attr.onscroll =
                attribute onscroll { common.data.functionbody }
        scripting.attr.onseeked =
@@ -269,6 +295,8 @@ datatypes w = "http://whattf.org/datatype-draft"
                attribute onselect { common.data.functionbody }
        scripting.attr.onshow =
                attribute onshow { common.data.functionbody }
+       scripting.attr.onsort =
+               attribute onsort { common.data.functionbody }
        scripting.attr.onstalled =
                attribute onstalled { common.data.functionbody }
        scripting.attr.onsubmit =
@@ -277,6 +305,8 @@ datatypes w = "http://whattf.org/datatype-draft"
                attribute onsuspend { common.data.functionbody }
        scripting.attr.ontimeupdate =
                attribute ontimeupdate { common.data.functionbody }
+       scripting.attr.ontoggle =
+               attribute ontoggle { common.data.functionbody }
        scripting.attr.onvolumechange =
                attribute onvolumechange { common.data.functionbody }
        scripting.attr.onwaiting =
index 27b3ab63e5ddcaef2495fcfeead6b779d3ac394e..a46b9828dfd0943dd272f0c0bf27bd20915c0b0a 100644 (file)
--- a/embed.rnc
+++ b/embed.rnc
@@ -169,17 +169,22 @@ namespace local = ""
                                            | dropzone
                                            | hidden
                                            | onabort
+                                           | onautocomplete
+                                           | onautocompleteerror
                                            | onblur
+                                           | oncancel
                                            | oncanplay
                                            | oncanplaythrough
                                            | onchange
                                            | onclick
                                            | onclose
                                            | oncontextmenu
+                                           | oncuechange
                                            | ondblclick
                                            | ondrag
                                            | ondragend
                                            | ondragenter
+                                           | ondragexit
                                            | ondragleave
                                            | ondragover
                                            | ondragstart
@@ -199,41 +204,33 @@ namespace local = ""
                                            | onloadedmetadata
                                            | onloadstart
                                            | onmousedown
+                                           | onmouseenter
+                                           | onmouseleave
                                            | onmousemove
                                            | onmouseout
                                            | onmouseover
                                            | onmouseup
-                                           | onmousewheel
+                                           | onwheel
                                            | onpause
                                            | onplay
                                            | onplaying
                                            | onprogress
                                            | onratechange
                                            | onreset
+                                           | onresize
                                            | onscroll
                                            | onseeked
                                            | onseeking
                                            | onselect
                                            | onshow
+                                           | onsort
                                            | onstalled
                                            | onsubmit
                                            | onsuspend
                                            | ontimeupdate
+                                           | ontoggle
                                            | onvolumechange
                                            | onwaiting
-                                           | onafterprint
-                                           | onbeforeprint
-                                           | onbeforeunload
-                                           | onhashchange
-                                           | onmessage
-                                           | onoffline
-                                           | ononline
-                                           | onpopstate
-                                           | onredo
-                                           | onresize
-                                           | onstorage
-                                           | onundo
-                                           | onunload
                                            | role
                                            | aria-atomic
                                            | aria-busy
index bbb67b445bc37c61929a488041b5ea12c9c8107d..ad5e2f1030aa5a0b65ca48d2dbe552e945393ae1 100644 (file)
--- a/meta.rnc
+++ b/meta.rnc
@@ -68,7 +68,6 @@ datatypes w = "http://whattf.org/datatype-draft"
                &       body.attrs.onpagehide?
                &       body.attrs.onpageshow?
                &       body.attrs.onpopstate?
-               &       body.attrs.onresize?
                &       body.attrs.onstorage?
                &       body.attrs.onunload?
                )