ACTION-3625: Event attributes on graphics and container elements added to svgelement just like htmlelement does
authorErik Dahlström <ed@opera.com>
Sat, 23 Aug 2014 11:38:30 +0100
changeset 698 568ea4166630
parent 697 22d3225a3ffb
child 699 b3c7d4d64e7c
ACTION-3625: Event attributes on graphics and container elements added to svgelement just like htmlelement does
master/definitions.xml
--- a/master/definitions.xml	Fri Aug 22 15:08:43 2014 +0100
+++ b/master/definitions.xml	Sat Aug 23 11:38:30 2014 +0100
@@ -15,7 +15,7 @@
       contentmodel='textoranyof'
       elementcategories='animation, descriptive, shape, structural, paint server'
       elements='a, clipPath, cursor, filter, foreignObject, image, marker, mask, script, style, switch, view, text'
-      attributecategories='aria, conditional processing, core, graphical event, presentation, style, xlink'
+      attributecategories='aria, conditional processing, core, global event, graphical event, presentation, style, xlink'
       interfaces='SVGAElement'>
     <attribute name='xlink:href' href='linking.html#AElementXLinkHrefAttribute' animatable='yes'/>
     <attribute name='xlink:show' href='linking.html#XLinkShowAttribute'/>
@@ -29,12 +29,12 @@
     contentmodel='anyof'
     elementcategories='descriptive'
     elements='script'
-    attributecategories='conditional processing, core, animation event, xlink, animation attribute target, animation timing, animation value, animation addition, presentation'
+    attributecategories='animation addition, animation event, animation attribute target, animation timing, animation value, conditional processing, core, global event, presentation, xlink'
     interfaces='SVGAnimateElement'/>
   <element
       name='animateMotion'
       href='animate.html#AnimateMotionElement'
-      attributecategories='conditional processing, core, animation event, xlink, animation timing, animation value, animation addition'
+      attributecategories='animation addition, animation event, animation timing, animation value, conditional processing, core, global event, xlink'
       interfaces='SVGAnimateMotionElement'>
     <x:contentmodel xmlns='http://www.w3.org/1999/xhtml'>Any number of <a>descriptive elements</a>, <a>'script'</a> and at most one <a>'mpath'</a> element, in any order.</x:contentmodel>
     <!--
@@ -51,7 +51,7 @@
       contentmodel='anyof'
       elementcategories='descriptive'
       elements='script'
-      attributecategories='conditional processing, core, animation event, xlink, animation attribute target, animation timing, animation value, animation addition'
+      attributecategories='animation addition, animation event, animation attribute target, animation timing, animation value, conditional processing, core, global event, xlink'
       interfaces='SVGAnimateTransformElement'>
     <attribute name='type' href='animate.html#AnimateTransformElementTypeAttribute'/>
   </element>
@@ -62,7 +62,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, paint server, structurally external'
       elements='clipPath, marker, mask, script, source, track'
-      attributecategories='aria, core, conditional processing, graphical event, style, presentation, embedding placement'
+      attributecategories='aria, core, conditional processing, global event, graphical event, style, presentation, embedding placement'
       attributes=''
       interfaces='SVGAudioElement'>
     <attribute name='src' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-media-src' animatable='yes'/>
@@ -82,7 +82,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, paint server'
       elements='clipPath, marker, mask, script'
-      attributecategories='aria, core, conditional processing, graphical event, style, presentation, embedding placement, embedding size'
+      attributecategories='aria, core, conditional processing, global event, graphical event, style, presentation, embedding placement, embedding size'
       attributes='preserveAspectRatio'
       interfaces='SVGCanvasElement'>
 
@@ -97,7 +97,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, paint server'
       elements='clipPath, marker, mask, script'
-      attributecategories='aria, conditional processing, core, graphical event, presentation, style'
+      attributecategories='aria, conditional processing, core, global event, graphical event, presentation, style'
       interfaces='SVGCircleElement'>
     <attribute name='cx' href='shapes.html#CircleElementCXAttribute' animatable='yes'/>
     <attribute name='cy' href='shapes.html#CircleElementCYAttribute' animatable='yes'/>
@@ -110,7 +110,7 @@
       contentmodel='anyof'
       elementcategories='descriptive'
       elements='script'
-      attributecategories='aria, core, xlink'
+      attributecategories='aria, core, global event, xlink'
       interfaces='SVGCursorElement'>
     <attribute name='x' href='interact.html#CursorElementXAttribute' animatable='yes'/>
     <attribute name='y' href='interact.html#CursorElementYAttribute' animatable='yes'/>
@@ -123,13 +123,13 @@
     contentmodel='anyof'
     elementcategories='animation, descriptive, shape, structural, paint server'
     elements='a, clipPath, cursor, filter, foreignObject, image, marker, mask, script, style, switch, view, text'
-    attributecategories='core, graphical event, presentation, style'
+    attributecategories='core, graphical event, global event, presentation, style'
     interfaces='SVGDefsElement'/>
   <element
     name='desc'
     href='struct.html#DescElement'
     contentmodel='any'
-    attributecategories='core, style'
+    attributecategories='core, global event, style'
     attributes='lang'
     interfaces='SVGDescElement'/>
   <element
@@ -149,7 +149,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, paint server'
       elements='clipPath, marker, mask, script'
-      attributecategories='aria, conditional processing, core, graphical event, presentation, style'
+      attributecategories='aria, conditional processing, core, global event, graphical event, presentation, style'
       interfaces='SVGEllipseElement'>
     <attribute name='cx' href='shapes.html#EllipseElementCXAttribute' animatable='yes'/>
     <attribute name='cy' href='shapes.html#EllipseElementCYAttribute' animatable='yes'/>
@@ -161,7 +161,7 @@
       name='foreignObject'
       href='extend.html#ForeignObjectElement'
       contentmodel='any'
-      attributecategories='aria, core, conditional processing, graphical event, presentation, style'
+      attributecategories='aria, core, conditional processing, global event, graphical event, presentation, style'
       interfaces='SVGForeignObjectElement'>
     <attribute name='x' href='extend.html#ForeignObjectElementXAttribute' animatable='yes'/>
     <attribute name='y' href='extend.html#ForeignObjectElementYAttribute' animatable='yes'/>
@@ -175,7 +175,7 @@
     contentmodel='anyof'
     elementcategories='animation, descriptive, shape, structural, paint server'
     elements='a, clipPath, cursor, filter, foreignObject, image, marker, mask, script, style, switch, text, view'
-    attributecategories='aria, conditional processing, core, graphical event, presentation, style'
+    attributecategories='aria, conditional processing, core, global event, graphical event, presentation, style'
     interfaces='SVGGElement'/>
 
   <element
@@ -184,7 +184,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive'
       elements='hatchPath, script'
-      attributecategories='core, presentation, style, xlink'
+      attributecategories='core, global event, presentation, style, xlink'
       interfaces='SVGHatchElement'>
     <attribute name='x' href='pservers.html#HatchElementXAttribute' animatable='yes'/>
     <attribute name='y' href='pservers.html#HatchElementYAttribute' animatable='yes'/>
@@ -202,7 +202,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive'
       elements='script'
-      attributecategories='core, presentation, style'
+      attributecategories='core, global event, presentation, style'
       interfaces='SVGHatchPathElement'>
     <attribute name='d' href='paths.html#DAttribute' animatable='yes'/>
     <attribute name='offset' href='pservers.html#HatchPathElementOffsetAttribute' animatable='yes'/>
@@ -214,7 +214,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, paint server, structurally external'
       elements='clipPath, marker, mask, script'
-      attributecategories='aria, core, conditional processing, graphical event, style, presentation, embedding placement, embedding size'
+      attributecategories='aria, core, conditional processing, global event, graphical event, style, presentation, embedding placement, embedding size'
       attributes='preserveAspectRatio'
       interfaces='SVGIframeElement'>
 
@@ -235,7 +235,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, paint server, structurally external'
       elements='clipPath, marker, mask, script'
-      attributecategories='aria, core, conditional processing, graphical event, style, xlink, presentation, embedding placement, embedding size'
+      attributecategories='aria, core, conditional processing, global event, graphical event, style, xlink, presentation, embedding placement, embedding size'
       attributes='preserveAspectRatio'
       interfaces='SVGImageElement'>
     <attribute name='xlink:href' href='embedded.html#ImageElementHrefAttribute' animatable='yes'/>
@@ -247,7 +247,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, paint server'
       elements='clipPath, marker, mask, script'
-      attributecategories='aria, conditional processing, core, graphical event, presentation, style'
+      attributecategories='aria, conditional processing, core, global event, graphical event, presentation, style'
       interfaces='SVGLineElement'>
     <attribute name='x1' href='shapes.html#LineElementX1Attribute' animatable='yes'/>
     <attribute name='y1' href='shapes.html#LineElementY1Attribute' animatable='yes'/>
@@ -261,7 +261,7 @@
       contentmodel='anyof'
       elementcategories='descriptive, paint server'
       elements='animate, animateTransform, script, set, stop'
-      attributecategories='core, presentation, style, xlink'
+      attributecategories='core, global event, presentation, style, xlink'
       interfaces='SVGLinearGradientElement'>
     <attribute name='x1' href='pservers.html#LinearGradientElementX1Attribute' animatable='yes'/>
     <attribute name='y1' href='pservers.html#LinearGradientElementY1Attribute' animatable='yes'/>
@@ -279,7 +279,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, shape, structural, paint server'
       elements='a, clipPath, cursor, filter, foreignObject, image, marker, mask, script, style, switch, view, text'
-      attributecategories='core, presentation, style'
+      attributecategories='core, global event, presentation, style'
       attributes='viewBox, preserveAspectRatio'
       interfaces='SVGMarkerElement'>
     <attribute name='refX' href='painting.html#MarkerElementRefXAttribute' animatable='yes'/>
@@ -298,7 +298,7 @@
       contentmodel='anyof'
       elementcategories='descriptive, paint server'
       elements='animate, animateTransform, script, set, meshRow'
-      attributecategories='core, presentation, style, xlink'
+      attributecategories='core, global event, presentation, style, xlink'
       interfaces='SVGMeshGradientElement'>
     <attribute name='x' href='pservers.html#MeshGradientElementXAttribute' animatable='yes'/>
     <attribute name='y' href='pservers.html#MeshGradientElementYAttribute' animatable='yes'/>
@@ -312,7 +312,7 @@
       href='pservers.html#MeshPatchElement'
       elementcategories='descriptive, paint server'
       elements='script, stop'
-      attributecategories='core, presentation, style'
+      attributecategories='core, global event, presentation, style'
       interfaces='SVGMeshPatchElement'>
     <x:contentmodel xmlns='http://www.w3.org/1999/xhtml'>Any number of <a>descriptive elements</a>, <a>'script'</a> and from one to four <a>'stop'</a> elements, in any order.</x:contentmodel>
   </element>
@@ -323,7 +323,7 @@
       contentmodel='anyof'
       elementcategories='descriptive, paint server'
       elements='meshPatch, script'
-      attributecategories='core, presentation, style'
+      attributecategories='core, global event, presentation, style'
       interfaces='SVGMeshRowElement'>
   </element>
 
@@ -331,7 +331,7 @@
     name='metadata'
     href='metadata.html#MetadataElement'
     contentmodel='any'
-    attributecategories='core'
+    attributecategories='core, global event'
     interfaces='SVGMetadataElement'/>
 
   <element
@@ -340,7 +340,7 @@
       contentmodel='anyof'
       elementcategories='descriptive'
       elements='script'
-      attributecategories='core, xlink'
+      attributecategories='core, global event, xlink'
       interfaces='SVGMPathElement'>
     <attribute name='xlink:href' href='animate.html#MPathElementHrefAttribute'/>
   </element>
@@ -351,7 +351,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, paint server'
       elements='clipPath, marker, mask, script'
-      attributecategories='aria, conditional processing, core, graphical event, presentation, style'
+      attributecategories='aria, conditional processing, core, global event, graphical event, presentation, style'
       interfaces='SVGPathElement'>
     <attribute name='d' href='paths.html#DAttribute' animatable='yes'/>
     <attribute name='pathLength' href='paths.html#PathLengthAttribute' animatable='yes'/>
@@ -363,7 +363,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, shape, structural, paint server'
       elements='a, clipPath, cursor, filter, foreignObject, image, marker, mask, script, style, switch, text, view'
-      attributecategories='core, presentation, style, xlink'
+      attributecategories='core, global event, presentation, style, xlink'
       attributes='viewBox, preserveAspectRatio'
       interfaces='SVGPatternElement'>
     <attribute name='x' href='pservers.html#PatternElementXAttribute' animatable='yes'/>
@@ -382,7 +382,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, paint server'
       elements='clipPath, marker, mask, script'
-      attributecategories='aria, conditional processing, core, graphical event, presentation, style'
+      attributecategories='aria, conditional processing, core, global event, graphical event, presentation, style'
       interfaces='SVGPolygonElement'>
     <attribute name='points' href='shapes.html#PolygonElementPointsAttribute' animatable='yes'/>
   </element>
@@ -393,7 +393,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, paint server'
       elements='clipPath, marker, mask, script'
-      attributecategories='aria, conditional processing, core, graphical event, presentation, style'
+      attributecategories='aria, conditional processing, core, global event, graphical event, presentation, style'
       interfaces='SVGPolylineElement'>
     <attribute name='points' href='shapes.html#PolylineElementPointsAttribute' animatable='yes'/>
   </element>
@@ -404,7 +404,7 @@
       contentmodel='anyof'
       elementcategories='descriptive, paint server'
       elements='animate, animateTransform, set, stop, script'
-      attributecategories='core, presentation, style, xlink'
+      attributecategories='core, global event, presentation, style, xlink'
       interfaces='SVGRadialGradientElement'>
     <attribute name='cx' href='pservers.html#RadialGradientElementCXAttribute' animatable='yes'/>
     <attribute name='cy' href='pservers.html#RadialGradientElementCYAttribute' animatable='yes'/>
@@ -424,7 +424,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, paint server'
       elements='mask, clipPath, marker, script'
-      attributecategories='aria, conditional processing, core, graphical event, presentation, style'
+      attributecategories='aria, conditional processing, core, global event, graphical event, presentation, style'
       interfaces='SVGRectElement'>
     <attribute name='x' href='shapes.html#RectElementXAttribute' animatable='yes'/>
     <attribute name='y' href='shapes.html#RectElementYAttribute' animatable='yes'/>
@@ -439,7 +439,7 @@
       href='script.html#ScriptElement'
       contentmodel='any'
       elementcategories='structurally external'
-      attributecategories='core, xlink'
+      attributecategories='core, global event, xlink'
       interfaces='SVGScriptElement'>
     <attribute name='type' href='script.html#ScriptElementTypeAttribute'/>
     <attribute name='xlink:href' href='script.html#ScriptElementHrefAttribute'/>
@@ -451,7 +451,7 @@
       contentmodel='anyof'
       elementcategories='descriptive'
       elements='script'
-      attributecategories='conditional processing, core, animation event, xlink, animation attribute target, animation timing'
+      attributecategories='animation event, animation attribute target, animation timing, conditional processing, core, global event, xlink'
       interfaces='SVGSetElement'>
     <attribute name='to' href='animate.html#SetElementToAttribute'/>
   </element>
@@ -462,7 +462,7 @@
       contentmodel='anyof'
       elementcategories='paint server'
       elements='animate, script, set'
-      attributecategories='core, presentation, style'
+      attributecategories='core, global event, presentation, style'
       interfaces='SVGSolidColorElement'>
   </element>
 
@@ -472,7 +472,7 @@
       contentmodel='anyof'
       elementcategories=''
       elements='script'
-      attributecategories='core, style'
+      attributecategories='core, global event, style'
       attributes=''
       interfaces='SVGSourceElement'>
     <attribute name='xlink:title' href='linking.html#XLinkTitleAttribute'/>
@@ -489,7 +489,7 @@
       contentmodel='anyof'
       elementcategories='paint server'
       elements='animate, script, set'
-      attributecategories='core, presentation, style'
+      attributecategories='core, global event, presentation, style'
       interfaces='SVGStopElement'>
     <attribute name='offset' href='pservers.html#StopElementOffsetAttribute' animatable='yes'/>
     <attribute name='path'   href='pservers.html#StopElementPathAttribute' animatable='yes'/>
@@ -499,7 +499,7 @@
       name='style'
       href='styling.html#StyleElement'
       contentmodel='any'
-      attributecategories='core'
+      attributecategories='core, global event'
       interfaces='SVGStyleElement'>
     <attribute name='type' href='styling.html#StyleElementTypeAttribute'/>
     <attribute name='media' href='styling.html#StyleElementMediaAttribute'/>
@@ -512,7 +512,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, shape, structural, paint server'
       elements='a, clipPath, cursor, filter, foreignObject, image, marker, mask, script, style, switch, text, view'
-      attributecategories='aria, conditional processing, core, document event, graphical event, presentation, style'
+      attributecategories='aria, conditional processing, core, document event, global event, graphical event, presentation, style'
       attributes='viewBox, preserveAspectRatio, zoomAndPan'
       interfaces='SVGSVGElement'>
     <attribute name='x' href='struct.html#SVGElementXAttribute' animatable='yes'/>
@@ -529,7 +529,7 @@
     contentmodel='anyof'
     elementcategories='animation, descriptive, shape, paint server'
     elements='a, clipPath, foreignObject, g, image, marker, mask, script, svg, switch, text, use'
-    attributecategories='aria, conditional processing, core, graphical event, presentation, style'
+    attributecategories='aria, conditional processing, core, global event, graphical event, presentation, style'
     interfaces='SVGSwitchElement'>
   </element>
 
@@ -539,7 +539,7 @@
     contentmodel='anyof'
     elementcategories='animation, descriptive, shape, structural, paint server'
     elements='a, clipPath, cursor, filter, foreignObject, image, marker, mask, script, style, switch, text, view'
-    attributecategories='aria, core, graphical event, presentation, style'
+    attributecategories='aria, core, global event, graphical event, presentation, style'
     attributes='preserveAspectRatio, viewBox'
     interfaces='SVGSymbolElement'>
   </element>
@@ -550,7 +550,7 @@
       contentmodel='textoranyof'
       elementcategories='animation, descriptive, text content child, paint server'
       elements='a, clipPath, marker, mask, script'
-      attributecategories='aria, conditional processing, core, graphical event, presentation, style'
+      attributecategories='aria, conditional processing, core, global event, graphical event, presentation, style'
       attributes='lengthAdjust'
       interfaces='SVGTextElement'>
     <attribute name='x' href='text.html#TextElementXAttribute' animatable='yes'/>
@@ -569,7 +569,7 @@
       contentmodel='textoranyof'
       elementcategories='descriptive, paint server'
       elements='a, animate, clipPath, marker, mask, script, set, tspan'
-      attributecategories='aria, conditional processing, core, graphical event, presentation, style, xlink'
+      attributecategories='aria, conditional processing, core, global event, graphical event, presentation, style, xlink'
       attributes='lengthAdjust, textLength'
       interfaces='SVGTextPathElement'>
     <attribute name='d' href='text.html#TextPathElementDAttribute' animatable='yes'/>
@@ -583,7 +583,7 @@
     name='title'
     href='struct.html#TitleElement'
     contentmodel='any'
-    attributecategories='core, style'
+    attributecategories='core, global event, style'
     attributes='lang'
     interfaces='SVGTitleElement'/>
 
@@ -593,7 +593,7 @@
       contentmodel='anyof'
       elementcategories=''
       elements='script'
-      attributecategories='core, style'
+      attributecategories='core, global event, style'
       attributes=''
       interfaces='SVGTrackElement'>
     <attribute name='title' href='linking.html#XLinkTitleAttribute'/>
@@ -612,7 +612,7 @@
     contentmodel='textoranyof'
     elementcategories='descriptive, paint server'
     elements='a, animate, script, set, tspan'
-    attributecategories='aria, conditional processing, core, graphical event, presentation, style'
+    attributecategories='aria, conditional processing, core, global event, graphical event, presentation, style'
     attributes='x, y, dx, dy, rotate, textLength, lengthAdjust'
     interfaces='SVGTSpanElement'>
   </element>
@@ -623,7 +623,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, paint server, structurally external'
       elements='clipPath, marker, mask, script'
-      attributecategories='aria, core, conditional processing, graphical event, presentation, style, xlink'
+      attributecategories='aria, core, conditional processing, global event, graphical event, presentation, style, xlink'
       interfaces='SVGUseElement'>
     <attribute name='x' href='struct.html#UseElementXAttribute' animatable='yes'/>
     <attribute name='y' href='struct.html#UseElementYAttribute' animatable='yes'/>
@@ -638,7 +638,7 @@
       contentmodel='anyof'
       elementcategories='animation, descriptive, paint server, structurally external'
       elements='clipPath, marker, mask, script, source, track'
-      attributecategories='aria, core, conditional processing, graphical event, style, presentation, embedding placement, embedding size'
+      attributecategories='aria, core, conditional processing, global event, graphical event, style, presentation, embedding placement, embedding size'
       attributes='preserveAspectRatio'
       interfaces='SVGVideoElement'>
     <attribute name='src' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-media-src' animatable='yes'/>
@@ -660,7 +660,7 @@
       elementcategories='animation, descriptive'
       elements='script'
       attributecategories='aria, core'
-      attributes='viewBox, preserveAspectRatio, zoomAndPan'
+      attributes='global event, viewBox, preserveAspectRatio, zoomAndPan'
       interfaces='SVGViewElement'>
     <attribute name='viewTarget' elements='view' href='linking.html#ViewElementViewTargetAttribute'/>
   </element>
@@ -802,17 +802,88 @@
   </attributecategory>
 
   <attributecategory
+      name='window event'
+      href='http://www.w3.org/TR/2014/CR-html5-20140204/webappapis.html#windoweventhandlers'>
+    <attribute name='onafterprint' href='script.html#WindowEventAttribute'/>
+    <attribute name='onbeforeprint' href='script.html#WindowEventAttribute'/>
+    <attribute name='onhashchange' href='script.html#WindowEventAttribute'/>
+    <attribute name='onmessage' href='script.html#WindowEventAttribute'/>
+    <attribute name='onoffline' href='script.html#WindowEventAttribute'/>
+    <attribute name='ononline' href='script.html#WindowEventAttribute'/>
+    <attribute name='onpagehide' href='script.html#WindowEventAttribute'/>
+    <attribute name='onpageshow' href='script.html#WindowEventAttribute'/>
+    <attribute name='onpopstate' href='script.html#WindowEventAttribute'/>
+    <attribute name='onstorage' href='script.html#WindowEventAttribute'/>
+    <attribute name='onunload' href='script.html#WindowEventAttribute'/>
+  </attributecategory>
+
+  <attributecategory
+      name='global event'
+      href='http://www.w3.org/TR/2014/CR-html5-20140204/webappapis.html#globaleventhandlers'>
+    <attribute name='oncancel' href='script.html#GlobalEventAttribute'/>
+    <attribute name='oncanplay' href='script.html#GlobalEventAttribute'/>
+    <attribute name='oncanplaythrough' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onchange' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onclick' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onclose' href='script.html#GlobalEventAttribute'/>
+    <attribute name='oncuechange' href='script.html#GlobalEventAttribute'/>
+    <attribute name='ondblclick' href='script.html#GlobalEventAttribute'/>
+    <attribute name='ondrag' href='script.html#GlobalEventAttribute'/>
+    <attribute name='ondragend' href='script.html#GlobalEventAttribute'/>
+    <attribute name='ondragenter' href='script.html#GlobalEventAttribute'/>
+    <attribute name='ondragexit' href='script.html#GlobalEventAttribute'/>
+    <attribute name='ondragleave' href='script.html#GlobalEventAttribute'/>
+    <attribute name='ondragover' href='script.html#GlobalEventAttribute'/>
+    <attribute name='ondragstart' href='script.html#GlobalEventAttribute'/>
+    <attribute name='ondrop' href='script.html#GlobalEventAttribute'/>
+    <attribute name='ondurationchange' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onemptied' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onended' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onerror' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onfocus' href='script.html#GlobalEventAttribute'/>
+    <attribute name='oninput' href='script.html#GlobalEventAttribute'/>
+    <attribute name='oninvalid' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onkeydown' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onkeypress' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onkeyup' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onload' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onloadeddata' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onloadedmetadata' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onloadstart' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onmousedown' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onmouseenter' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onmouseleave' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onmousemove' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onmouseout' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onmouseover' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onmouseup' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onmousewheel' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onpause' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onplay' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onplaying' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onprogress' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onratechange' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onreset' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onresize' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onscroll' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onseeked' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onseeking' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onselect' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onshow' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onstalled' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onsubmit' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onsuspend' href='script.html#GlobalEventAttribute'/>
+    <attribute name='ontimeupdate' href='script.html#GlobalEventAttribute'/>
+    <attribute name='ontoggle' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onvolumechange' href='script.html#GlobalEventAttribute'/>
+    <attribute name='onwaiting' href='script.html#GlobalEventAttribute'/>
+  </attributecategory>
+
+  <attributecategory
       name='graphical event'
       href='intro.html#TermGraphicalEventAttribute'>
     <attribute name='onfocusin' href='script.html#OnFocusInEventAttribute'/>
     <attribute name='onfocusout' href='script.html#OnFocusOutEventAttribute'/>
-    <attribute name='onclick' href='script.html#OnClickEventAttribute'/>
-    <attribute name='onmousedown' href='script.html#OnMouseDownEventAttribute'/>
-    <attribute name='onmouseup' href='script.html#OnMouseUpEventAttribute'/>
-    <attribute name='onmouseover' href='script.html#OnMouseOverEventAttribute'/>
-    <attribute name='onmousemove' href='script.html#OnMouseMoveEventAttribute'/>
-    <attribute name='onmouseout' href='script.html#OnMouseOutEventAttribute'/>
-    <attribute name='onload' href='script.html#OnLoadEventAttribute'/>
   </attributecategory>
 
   <attributecategory