summaryrefslogtreecommitdiff
path: root/etc/schema/xhtml-events.rnc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/schema/xhtml-events.rnc')
-rw-r--r--etc/schema/xhtml-events.rnc47
1 files changed, 47 insertions, 0 deletions
diff --git a/etc/schema/xhtml-events.rnc b/etc/schema/xhtml-events.rnc
new file mode 100644
index 00000000000..536874201e1
--- /dev/null
+++ b/etc/schema/xhtml-events.rnc
@@ -0,0 +1,47 @@
+# Events Module
+
+a.attlist &=
+ attribute onblur { Script.datatype }?,
+ attribute onfocus { Script.datatype }?
+area.attlist &=
+ attribute onblur { Script.datatype }?,
+ attribute onfocus { Script.datatype }?
+form.attlist &=
+ attribute onreset { Script.datatype }?,
+ attribute onsubmit { Script.datatype }?
+body.attlist &=
+ attribute onload { Script.datatype }?,
+ attribute onunload { Script.datatype }?
+label.attlist &=
+ attribute onblur { Script.datatype }?,
+ attribute onfocus { Script.datatype }?
+input.attlist &=
+ attribute onblur { Script.datatype }?,
+ attribute onchange { Script.datatype }?,
+ attribute onfocus { Script.datatype }?,
+ attribute onselect { Script.datatype }?
+select.attlist &=
+ attribute onblur { Script.datatype }?,
+ attribute onchange { Script.datatype }?,
+ attribute onfocus { Script.datatype }?
+textarea.attlist &=
+ attribute onblur { Script.datatype }?,
+ attribute onchange { Script.datatype }?,
+ attribute onfocus { Script.datatype }?,
+ attribute onselect { Script.datatype }?
+button.attlist &=
+ attribute onblur { Script.datatype }?,
+ attribute onfocus { Script.datatype }?
+Events.attrib =
+ attribute onclick { Script.datatype }?,
+ attribute ondblclick { Script.datatype }?,
+ attribute onmousedown { Script.datatype }?,
+ attribute onmouseup { Script.datatype }?,
+ attribute onmouseover { Script.datatype }?,
+ attribute onmousemove { Script.datatype }?,
+ attribute onmouseout { Script.datatype }?,
+ attribute onkeypress { Script.datatype }?,
+ attribute onkeydown { Script.datatype }?,
+ attribute onkeyup { Script.datatype }?
+Common.attrib &= Events.attrib
+CommonIdRequired.attrib &= Events.attrib