Cleanup related to ACTION-3625, remove 'onload' from AnimationEvents.
authorErik Dahlström <ed@opera.com>
Fri, 22 Aug 2014 15:08:43 +0100
changeset 697 22d3225a3ffb
parent 696 ff12055fb012
child 698 568ea4166630
Cleanup related to ACTION-3625, remove 'onload' from AnimationEvents.
master/changes.html
master/definitions.xml
master/script.html
--- a/master/changes.html	Fri Aug 22 23:44:55 2014 +1000
+++ b/master/changes.html	Fri Aug 22 15:08:43 2014 +0100
@@ -57,7 +57,7 @@
   <li>Remove definition of <a>&lt;angle&gt;</a> type and reference CSS3-values.</li>
 
   <li>Change all coordinate types to <a>&lt;length&gt;</a> in preparation for referencing css3-values..</li>
-  
+
   <li>Add the <a>'script'</a> element to the content model of all elements.</li>
 
   <li class="added-since-last-wd">Changed the initialize, appendItem, replaceItem and insertItemBefore methods
@@ -107,9 +107,9 @@
   <li>Made <a>SVGElement</a> implement the <a>GlobalEventHandlers</a> interface from HTML.</li>
 
   <li>Removed getStrokeBBox from <a>SVGGraphicsElement</a> and extended <a href="types.html#__svg__SVGGraphicsElement__getBBox">getBBox</a> with a dictionary argument that controls which parts of the element are included in the returned bounding box.</li>
-  
+
   <li>Allow leading and trailing whitespace in <a>&lt;length&gt;</a>, <a>&lt;angle&gt;</a>, <a>&lt;number&gt;</a> and <a>&lt;integer&gt;</a>.</li>
-  
+
   <li>Make whitespace include form feed (U+000C) to align with CSS and HTML.</li>
 </ul>
 
@@ -139,9 +139,9 @@
   <li>Moved the <a>'image'</a> element to the <a href='embedded.html'>Embedded Content chapter</a>.</li>
 
   <li>Removed the <code>SVGElementInstance</code> and <code>SVGElementInstanceList</code> interfaces, and the corresponding attributes on the <a>SVGUseElement</a> interface.</li>
-  
+
   <li>Changed the <a>'use'</a> element event flow to follow the Shadow DOM spec.</li>
-  
+
   <li>Clarified that the <a>'switch'</a> element does not affect processing of <a>'script'</a> elements.</li>
 
   <li>Made the <a>'svg/width'</a> and <a>'svg/height'</a> attributes on the <a>'svg'</a> element presentation attributes, and changed the lacuna value to
@@ -178,7 +178,7 @@
 
   <li class='added-since-last-wd'>Define <a>'path'</a>, <a>'polygon'</a> and <a>'polyline'</a> elements with no data set (empty or zero valid commands) to not render.</li>
 
-  <li class='added-since-last-wd'>Define how <a href="paths.html#__svg__SVGPathElement__getPathSegAtLength">getPathSegAtLength</a> and 
+  <li class='added-since-last-wd'>Define how <a href="paths.html#__svg__SVGPathElement__getPathSegAtLength">getPathSegAtLength</a> and
   <a href="paths.html#__svg__SVGPathElement__getPointAtLength">getPointAtLength</a> handle out-of-range input, and what to do in case there's no valid path data.</li>
 </ul>
 
@@ -199,7 +199,7 @@
 
   <li class='added-since-last-wd'>Removed the <span class='element'>'tref'</span> element.</li>
 
-  <li class='added-since-last-wd'>Removed the <span class='element'>'altGlyph'</span>, <span class='element'>'altGlyphDef'</span>, 
+  <li class='added-since-last-wd'>Removed the <span class='element'>'altGlyph'</span>, <span class='element'>'altGlyphDef'</span>,
   <span class='element'>'altGlyphItem'</span> and <span class='element'>'glyphRef'</span> elements.
   </li>
 </ul>
@@ -332,6 +332,7 @@
 
 <ul>
   <li>Removed the <span class="attr-name">'contentScriptType'</span> attribute.</li>
+  <li class='added-since-last-wd'>Removed <span class="attr-name">'onload'</span> from AnimationEvents.</li>
 </ul>
 
 <h3 id="animate">Animation chapter</h3>
--- a/master/definitions.xml	Fri Aug 22 23:44:55 2014 +1000
+++ b/master/definitions.xml	Fri Aug 22 15:08:43 2014 +0100
@@ -85,10 +85,10 @@
       attributecategories='aria, core, conditional processing, 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
@@ -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, graphical event, presentation, style'
       interfaces='SVGEllipseElement'>
     <attribute name='cx' href='shapes.html#EllipseElementCXAttribute' animatable='yes'/>
     <attribute name='cy' href='shapes.html#EllipseElementCYAttribute' animatable='yes'/>
@@ -217,10 +217,10 @@
       attributecategories='aria, core, conditional processing, 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'/>
 
     <attribute name='src' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-iframe-src' animatable='yes'/>
@@ -476,11 +476,11 @@
       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
@@ -597,13 +597,13 @@
       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'/>
     <attribute name='default' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-track-default' animatable='yes'/>
-    
+
   </element>
 
   <element
@@ -821,7 +821,6 @@
     <attribute name='onbegin' href='script.html#OnBeginEventAttribute'/>
     <attribute name='onend' href='script.html#OnEndEventAttribute'/>
     <attribute name='onrepeat' href='script.html#OnRepeatEventAttribute'/>
-    <attribute name='onload' href='script.html#OnLoadEventAttribute'/>
   </attributecategory>
 
   <attributecategory
@@ -887,7 +886,7 @@
     <attribute name='width' href='embedded.html#PlacementWidthAttribute'/>
     <attribute name='height' href='embedded.html#PlacementHeightAttribute'/>
   </attributecategory>
-  
+
   <!-- ... properties ..................................................... -->
 
   <property name='alignment-baseline' href='text.html#AlignmentBaselineProperty'/>
@@ -1149,7 +1148,7 @@
   <symbol name='url' href='types.html#DataTypeURL'/>
   <symbol name='whitespace' href='types.html#DataTypeWhitespace'/>
   <symbol name='XML-Name' href="types.html#DataTypeXML-Name"/>
-  
+
   <!-- ... terms (these will be generated later) .......................... -->
   <!-- ... elements, in alphabetic order ... -->
   <term name='animation element' href='intro.html#TermAnimationElement'/>
@@ -1275,7 +1274,7 @@
 
   <!-- ... other, defined outside intro.html ... -->
   <term name='Animatable' href="animate.html#Animatable"/>
-  <term name='equivalent path' href='paths.html#TermEquivalentPath'/> 
+  <term name='equivalent path' href='paths.html#TermEquivalentPath'/>
   <term name='initial coordinate system' href='coords.html#InitialCoordinateSystem'/>
   <term name='inherit' href='http://www.w3.org/TR/2008/REC-CSS2-20080411/cascade.html#value-def-inherit'/>
   <term name='object bounding box units' href='coords.html#ObjectBoundingBoxUnits'/>
@@ -1362,4 +1361,3 @@
   <symbol name='transform-function' href='http://dev.w3.org/csswg/css3-transforms/#transform-functions'/>
 
 </definitions>
-
--- a/master/script.html	Fri Aug 22 23:44:55 2014 +1000
+++ b/master/script.html	Fri Aug 22 15:08:43 2014 +0100
@@ -101,7 +101,7 @@
   <circle onclick="circle_click(evt)" cx="300" cy="225" r="100"
           fill="red"/>
 
-  <text x="300" y="480" 
+  <text x="300" y="480"
         font-family="Verdana" font-size="35" text-anchor="middle">
 
     Click on circle to change its size
@@ -148,7 +148,7 @@
   <dd>
     Identifies the scripting language for the given <a>'script'</a> element. The value
     <span class="attr-value"><em>content-type</em></span>
-    specifies a media type, per 
+    specifies a media type, per
     <a href="http://www.ietf.org/rfc/rfc2046.txt">Multipurpose Internet Mail Extensions
     (MIME) Part Two</a> [<a href="refs.html#ref-RFC2046">RFC2046</a>].
     If a <a>'script/type'</a> is not provided, then the default scripting
@@ -221,14 +221,6 @@
 
 <h3 id="LoadEvent">Event attribute for the load event</h3>
 
-<p>Below is the definition for the <a>'svg/onload'</a> event attribute.  It
-can be specified on all of the <a>animation elements</a> and most of the
-<a>graphics elements</a> and <a>container elements</a>.  The <a>'svg/onload'</a>
-event attribute is classified as both a <a>graphical event attribute</a>
-and an <a>animation event attribute</a>.  (See the definition for each element
-to determine whether it can have a <a>graphical event attribute</a>
-specified on it.)</p>
-
 <p><em>Attribute definitions:</em></p>
 
 <dl class="attrdef-list">
@@ -364,9 +356,6 @@
 <p>Below are the definitions for the <a>animation event attributes</a>.
 These can be specified on the <a>animation elements</a>.</p>
 
-<p>Note that <a>'svg/onload'</a>, defined above, is also classified as an
-<a>animation event attribute</a>.</p>
-
 <p><em>Attribute definitions:</em></p>
 
 <dl class="attrdef-list">
@@ -461,7 +450,7 @@
 <dd>
 The zoom event occurs when the user initiates an action
 which causes the current view of the SVG document fragment
-to be rescaled. Event handlers are only recognized on <a>'svg'</a> elements. See <a href="interact.html#ZoomEvent">SVGZoom event</a>. 
+to be rescaled. Event handlers are only recognized on <a>'svg'</a> elements. See <a href="interact.html#ZoomEvent">SVGZoom event</a>.
 
 <ul>