emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] master 1f870ab 18/23: Align event-handler-attribute checking with


From: Stefan Monnier
Subject: [elpa] master 1f870ab 18/23: Align event-handler-attribute checking with spec
Date: Thu, 14 Jan 2016 19:22:39 +0000

branch: master
commit 1f870abb962f285cc12a4da04ae5ab63974538f1
Author: Michael[tm] Smith <address@hidden>
Commit: Michael[tm] Smith <address@hidden>

    Align event-handler-attribute checking with spec
    
    Fixes https://bugzilla.validator.nu/show_bug.cgi?id=1026
---
 core-scripting.rnc |   36 +++++++++++++++++++++++++++++++++---
 embed.rnc          |   25 +++++++++++--------------
 meta.rnc           |    1 -
 3 files changed, 44 insertions(+), 18 deletions(-)

diff --git a/core-scripting.rnc b/core-scripting.rnc
index 0569d0e..534e4ca 100644
--- a/core-scripting.rnc
+++ b/core-scripting.rnc
@@ -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 =
diff --git a/embed.rnc b/embed.rnc
index 27b3ab6..a46b982 100644
--- 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
diff --git a/meta.rnc b/meta.rnc
index bbb67b4..ad5e2f1 100644
--- 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?
                )



reply via email to

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