svg2: ACTION-3625: Event attributes on graphics and container element...

details:   https://svgwg.org/hg/svg2/rev/568ea4166630
branches:  
changeset: 698:568ea4166630
user:      Erik Dahlstr?m <ed@opera.com>
date:      Sat Aug 23 11:38:30 2014 +0100
description:
ACTION-3625: Event attributes on graphics and container elements added to svgelement just like htmlelement does

diffstat:

 master/definitions.xml |  181 ++++++++++++++++++++++++++++++++++--------------
 1 files changed, 126 insertions(+), 55 deletions(-)

diffs (803 lines):

diff --git a/master/definitions.xml b/master/definitions.xml
--- a/master/definitions.xml
+++ b/master/definitions.xml
@@ -10,64 +10,64 @@
        section.
   -->
   <element
       name='a'
       href='linking.html#AElement'
       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'/>
     <attribute name='xlink:actuate' href='linking.html#AElementXLinkActuateAttribute'/>
     <attribute name='target' href='linking.html#AElementTargetAttribute' animatable='yes'/>
   </element>
 
   <element
     name='animate'
     href='animate.html#AnimateElement'
     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>
     <!--
     <attribute name='calcMode' href='animate.html#AnimateMotionElementCalcModeAttribute'/>
     -->
     <attribute name='path' href='animate.html#AnimateMotionElementPathAttribute'/>
     <attribute name='keyPoints' href='animate.html#KeyPointsAttribute'/>
     <attribute name='rotate' href='animate.html#RotateAttribute'/>
     <attribute name='origin' href='animate.html#OriginAttribute'/>
   </element>
   <element
       name='animateTransform'
       href='animate.html#AnimateTransformElement'
       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>
 
   <element
       name='audio'
       href='embedded.html#AudioElement'
       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'/>
     <attribute name='title' href='linking.html#XLinkTitleAttribute'/>
     <attribute name='crossorigin' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-media-crossorigin' animatable='yes'/>
     <attribute name='preload' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-media-preload' animatable='yes'/>
     <attribute name='autoplay' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-media-autoplay' animatable='yes'/>
     <attribute name='mediagroup' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-media-mediagroup' animatable='yes'/>
@@ -77,64 +77,64 @@
   </element>
 
   <element
       name='canvas'
       href='embedded.html#CanvasElement'
       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'>
 
     <attribute name='canvasWidth' href='embedded.html#CanvasWidthAttribute' animatable='yes'/>
     <attribute name='canvasHeight' href='embedded.html#CanvasHeightAttribute' animatable='yes'/>
 
   </element>
 
   <element
       name='circle'
       href='shapes.html#CircleElement'
       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'/>
     <attribute name='r' href='shapes.html#CircleElementRAttribute' animatable='yes'/>
   </element>
 
   <element
       name='cursor'
       href='interact.html#CursorElement'
       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'/>
     <attribute name='xlink:href' href='interact.html#CursorElementHrefAttribute' animatable='yes'/>
   </element>
 
   <element
     name='defs'
     href='struct.html#DefsElement'
     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
     name='discard'
     href='struct.html#DiscardElement'
     contentmodel='anyof'
     elementcategories='descriptive'
     elements='script'
@@ -144,52 +144,52 @@
   </element>
 
   <element
       name='ellipse'
       href='shapes.html#EllipseElement'
       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'/>
     <attribute name='rx' href='shapes.html#EllipseElementRXAttribute' animatable='yes'/>
     <attribute name='ry' href='shapes.html#EllipseElementRYAttribute' animatable='yes'/>
   </element>
 
   <element
       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'/>
     <attribute name='width' href='extend.html#ForeignObjectElementWidthAttribute' animatable='yes' presentation='yes'/>
     <attribute name='height' href='extend.html#ForeignObjectElementHeightAttribute' animatable='yes' presentation='yes'/>
   </element>
 
   <element
     name='g'
     href='struct.html#GElement'
     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
       name='hatch'
       href='pservers.html#HatchElement'
       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'/>
     <attribute name='pitch' href='pservers.html#HatchElementPitchAttribute' animatable='yes'/>
     <attribute name='rotate' href='pservers.html#HatchElementRotateAttribute' animatable='yes'/>
     <attribute name='hatchUnits' href='pservers.html#HatchElementHatchUnitsAttribute' animatable='yes'/>
     <attribute name='hatchContentUnits' href='pservers.html#HatchElementHatchContentUnitsAttribute' animatable='yes'/>
     <attribute name='hatchTransform' href='pservers.html#HatchElementHatchTransformAttribute' animatable='yes'/>
@@ -197,29 +197,29 @@
   </element>
 
   <element
       name='hatchPath'
       href='pservers.html#HatchPathElement'
       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'/>
   </element>
 
   <element
       name='iframe'
       href='embedded.html#IframeElement'
       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'>
 
     <attribute name='frameWidth' href='embedded.html#FrameWidthAttribute' animatable='yes'/>
     <attribute name='frameHeight' href='embedded.html#FrameHeightAttribute' animatable='yes'/>
 
     <attribute name='title' href='linking.html#XLinkTitleAttribute'/>
 
@@ -230,43 +230,43 @@
   </element>
 
   <element
       name='image'
       href='embedded.html#ImageElement'
       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'/>
   </element>
 
   <element
       name='line'
       href='shapes.html#LineElement'
       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'/>
     <attribute name='x2' href='shapes.html#LineElementX2Attribute' animatable='yes'/>
     <attribute name='y2' href='shapes.html#LineElementY2Attribute' animatable='yes'/>
   </element>
 
   <element
       name='linearGradient'
       href='pservers.html#LinearGradientElement'
       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'/>
     <attribute name='x2' href='pservers.html#LinearGradientElementX2Attribute' animatable='yes'/>
     <attribute name='y2' href='pservers.html#LinearGradientElementY2Attribute' animatable='yes'/>
     <attribute name='gradientUnits' href='pservers.html#LinearGradientElementGradientUnitsAttribute' animatable='yes'/>
     <attribute name='gradientTransform' href='pservers.html#LinearGradientElementGradientTransformAttribute' animatable='yes'/>
     <attribute name='spreadMethod' href='pservers.html#LinearGradientElementSpreadMethodAttribute' animatable='yes'/>
@@ -274,17 +274,17 @@
   </element>
 
   <element
       name='marker'
       href='painting.html#MarkerElement'
       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'/>
     <attribute name='refY' href='painting.html#MarkerElementRefYAttribute' animatable='yes'/>
     <attribute name='markerUnits' href='painting.html#MarkerUnitsAttribute' animatable='yes'/>
     <attribute name='markerWidth' href='painting.html#MarkerWidthAttribute' animatable='yes'/>
     <attribute name='markerHeight' href='painting.html#MarkerHeightAttribute' animatable='yes'/>
     <attribute name='orient' href='painting.html#OrientAttribute' animatable='yes'/>
@@ -293,82 +293,82 @@
   </element>
 
   <element
       name='meshGradient'
       href='pservers.html#MeshGradientElement'
       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'/>
     <attribute name='gradientUnits' href='pservers.html#MeshGradientElementGradientUnitsAttribute' animatable='yes'/>
     <attribute name='gradientTransform' href='pservers.html#MeshGradientElementGradientTransformAttribute' animatable='yes'/>
     <attribute name='xlink:href' href='pservers.html#MeshGradientElementHrefAttribute' animatable='yes'/>
   </element>
 
   <element
       name='meshPatch'
       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>
 
   <element
       name='meshRow'
       href='pservers.html#MeshRowElement'
       contentmodel='anyof'
       elementcategories='descriptive, paint server'
       elements='meshPatch, script'
-      attributecategories='core, presentation, style'
+      attributecategories='core, global event, presentation, style'
       interfaces='SVGMeshRowElement'>
   </element>
 
   <element
     name='metadata'
     href='metadata.html#MetadataElement'
     contentmodel='any'
-    attributecategories='core'
+    attributecategories='core, global event'
     interfaces='SVGMetadataElement'/>
 
   <element
       name='mpath'
       href='animate.html#MPathElement'
       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>
 
   <element
       name='path'
       href='paths.html#PathElement'
       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'/>
   </element>
 
   <element
       name='pattern'
       href='pservers.html#PatternElement'
       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'/>
     <attribute name='y' href='pservers.html#PatternElementYAttribute' animatable='yes'/>
     <attribute name='width' href='pservers.html#PatternElementWidthAttribute' animatable='yes'/>
     <attribute name='height' href='pservers.html#PatternElementHeightAttribute' animatable='yes'/>
     <attribute name='patternUnits' href='pservers.html#PatternElementPatternUnitsAttribute' animatable='yes'/>
     <attribute name='patternContentUnits' href='pservers.html#PatternElementPatternContentUnitsAttribute' animatable='yes'/>
@@ -377,39 +377,39 @@
   </element>
 
   <element
       name='polygon'
       href='shapes.html#PolygonElement'
       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>
 
   <element
       name='polyline'
       href='shapes.html#PolylineElement'
       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>
 
   <element
       name='radialGradient'
       href='pservers.html#RadialGradientElement'
       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'/>
     <attribute name='r' href='pservers.html#RadialGradientElementRAttribute' animatable='yes'/>
     <attribute name='fx' href='pservers.html#RadialGradientElementFXAttribute' animatable='yes'/>
     <attribute name='fy' href='pservers.html#RadialGradientElementFYAttribute' animatable='yes'/>
     <attribute name='fr' href='pservers.html#RadialGradientElementFRAttribute' animatable='yes'/>
     <attribute name='gradientUnits' href='pservers.html#RadialGradientElementGradientUnitsAttribute' animatable='yes'/>
@@ -419,143 +419,143 @@
   </element>
 
   <element
       name='rect'
       href='shapes.html#RectElement'
       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'/>
     <attribute name='width' href='shapes.html#RectElementWidthAttribute' animatable='yes'/>
     <attribute name='height' href='shapes.html#RectElementHeightAttribute' animatable='yes'/>
     <attribute name='rx' href='shapes.html#RectElementRXAttribute' animatable='yes'/>
     <attribute name='ry' href='shapes.html#RectElementRYAttribute' animatable='yes'/>
   </element>
 
   <element
       name='script'
       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'/>
   </element>
 
   <element
       name='set'
       href='animate.html#SetElement'
       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>
 
   <element
       name='solidColor'
       href='pservers.html#SolidColorElement'
       contentmodel='anyof'
       elementcategories='paint server'
       elements='animate, script, set'
-      attributecategories='core, presentation, style'
+      attributecategories='core, global event, presentation, style'
       interfaces='SVGSolidColorElement'>
   </element>
 
   <element
       name='source'
       href='embedded.html#SourceElement'
       contentmodel='anyof'
       elementcategories=''
       elements='script'
-      attributecategories='core, style'
+      attributecategories='core, global event, style'
       attributes=''
       interfaces='SVGSourceElement'>
     <attribute name='xlink:title' href='linking.html#XLinkTitleAttribute'/>
 
     <attribute name='src' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-source-src' animatable='yes'/>
     <attribute name='type' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-source-type' animatable='yes'/>
     <attribute name='media' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-source-media' animatable='yes'/>
 
   </element>
 
   <element
       name='stop'
       href='pservers.html#StopElement'
       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'/>
   </element>
 
   <element
       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'/>
     <attribute name='title' href='styling.html#StyleElementTitleAttribute'/>
   </element>
 
   <element
       name='svg'
       href='struct.html#SVGElement'
       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'/>
     <attribute name='y' href='struct.html#SVGElementYAttribute' animatable='yes'/>
     <attribute name='width' href='struct.html#SVGElementWidthAttribute' animatable='yes' presentation='yes'/>
     <attribute name='height' href='struct.html#SVGElementHeightAttribute' animatable='yes' presentation='yes'/>
     <attribute name='playbackOrder' href='struct.html#SVGElementPlaybackOrderAttribute' animatable='no'/>
     <attribute name='timelineBegin' href='struct.html#SVGElementTimelineBeginAttribute' animatable='no'/>
   </element>
 
   <element
     name='switch'
     href='struct.html#SwitchElement'
     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>
 
   <element
     name='symbol'
     href='struct.html#SymbolElement'
     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>
 
   <element
       name='text'
       href='text.html#TextElement'
       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'/>
     <attribute name='y' href='text.html#TextElementYAttribute' animatable='yes'/>
     <attribute name='dx' href='text.html#TextElementDXAttribute' animatable='yes'/>
     <attribute name='dy' href='text.html#TextElementDYAttribute' animatable='yes'/>
     <attribute name='rotate' href='text.html#TextElementRotateAttribute' animatable='yes'/>
     <attribute name='textLength' href='text.html#TextElementTextLengthAttribute' animatable='yes'/>
@@ -564,41 +564,41 @@
   </element>
 
   <element
       name='textPath'
       href='text.html#TextPathElement'
       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'/>
     <attribute name='xlink:href' href='text.html#TextPathElementHrefAttribute' animatable='yes'/>
     <attribute name='startOffset' href='text.html#TextPathElementStartOffsetAttribute' animatable='yes'/>
     <attribute name='method' href='text.html#TextPathElementMethodAttribute' animatable='yes'/>
     <attribute name='spacing' href='text.html#TextPathElementSpacingAttribute' animatable='yes'/>
   </element>
 
   <element
     name='title'
     href='struct.html#TitleElement'
     contentmodel='any'
-    attributecategories='core, style'
+    attributecategories='core, global event, style'
     attributes='lang'
     interfaces='SVGTitleElement'/>
 
   <element
       name='track'
       href='embedded.html#TrackElement'
       contentmodel='anyof'
       elementcategories=''
       elements='script'
-      attributecategories='core, style'
+      attributecategories='core, global event, style'
       attributes=''
       interfaces='SVGTrackElement'>
     <attribute name='title' href='linking.html#XLinkTitleAttribute'/>
 
     <attribute name='kind' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-track-kind' animatable='yes'/>
     <attribute name='src' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-track-src' animatable='yes'/>
     <attribute name='srclang' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-track-srclang' animatable='yes'/>
     <attribute name='label' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-track-label' animatable='yes'/>
@@ -607,43 +607,43 @@
   </element>
 
   <element
     name='tspan'
     href='text.html#TSpanElement'
     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>
 
   <element
       name='use'
       href='struct.html#UseElement'
       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'/>
     <attribute name='width' href='struct.html#UseElementWidthAttribute' animatable='yes'/>
     <attribute name='height' href='struct.html#UseElementHeightAttribute' animatable='yes'/>
     <attribute name='xlink:href' href='struct.html#UseElementHrefAttribute' animatable='yes'/>
   </element>
 
   <element
       name='video'
       href='embedded.html#VideoElement'
       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'/>
     <attribute name='title' href='linking.html#XLinkTitleAttribute'/>
     <attribute name='crossorigin' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-media-crossorigin' animatable='yes'/>
     <attribute name='poster' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-video-poster' animatable='yes'/>
     <attribute name='preload' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-media-preload' animatable='yes'/>
     <attribute name='autoplay' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-media-autoplay' animatable='yes'/>
@@ -655,17 +655,17 @@
 
   <element
       name='view'
       href='linking.html#ViewElement'
       contentmodel='anyof'
       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>
 
   <!-- ... element categories ............................................ -->
 
   <elementcategory name='animation' href='intro.html#TermAnimationElement' elements='animate, animateMotion, animateTransform, discard, set'/>
   <elementcategory name='container' href='intro.html#TermContainerElement' elements='svg, g, defs, symbol, mask, pattern, marker, a, switch'/>
@@ -797,27 +797,98 @@
     <attribute name='onabort' href='script.html#OnAbortEventAttribute'/>
     <attribute name='onerror' href='script.html#OnErrorEventAttribute'/>
     <attribute name='onresize' href='script.html#OnResizeEventAttribute'/>
     <attribute name='onscroll' href='script.html#OnScrollEventAttribute'/>
     <attribute name='onzoom' href='script.html#OnZoomEventAttribute'/>
   </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
       name='animation event'
       href='intro.html#TermAnimationEventAttribute'>
     <attribute name='onbegin' href='script.html#OnBeginEventAttribute'/>
     <attribute name='onend' href='script.html#OnEndEventAttribute'/>
     <attribute name='onrepeat' href='script.html#OnRepeatEventAttribute'/>

Received on Saturday, 23 August 2014 10:43:56 UTC