svg2: Cleanup related to ACTION-3625, remove 'onload' from AnimationE...

details:   https://svgwg.org/hg/svg2/rev/22d3225a3ffb
branches:  
changeset: 697:22d3225a3ffb
user:      Erik Dahlstr?m <ed@opera.com>
date:      Fri Aug 22 15:08:43 2014 +0100
description:
Cleanup related to ACTION-3625, remove 'onload' from AnimationEvents.

diffstat:

 master/changes.html    |  15 ++++++++-------
 master/definitions.xml |  26 ++++++++++++--------------
 master/script.html     |  17 +++--------------
 3 files changed, 23 insertions(+), 35 deletions(-)

diffs (430 lines):

diff --git a/master/changes.html b/master/changes.html
--- a/master/changes.html
+++ b/master/changes.html
@@ -52,17 +52,17 @@ have been made.</p>
 
   <li>IDL has been updated to use Web IDL syntax.</li>
 
   <li>Added "length" attribute and indexed property access to all list interfaces.</li>
 
   <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
   on list objects to make a copy of any list item being inserted that is already
   in another list.</li>
 </ul>
 
 <h3 id="rendering">Rendering Model chapter</h3>
@@ -102,19 +102,19 @@ have been made.</p>
 
   <li>Added <a href="types.html#__svg__SVGElement__focus">focus</a> and <a href="types.html#__svg__SVGElement__blur">blur</a> operations and <a href='types.html#__svg__SVGElement__tabIndex'>tabIndex</a> attribute to <a>SVGElement</a>.</li>
 
   <li>Added <a href="struct.html#__svg__SVGDocument__activeElement">activeElement</a> attribute to <a>Document</a>.</li>
 
   <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>
 
 <h3 id="structure">Document Structure chapter</h3>
 
 <ul>
   <li>Deprecated the <code>suspendRedraw</code>, <code>unsuspendRedraw</code> and <code>unsuspendRedrawAll</code> methods in the SVGSVGElement interface.</li>
 
@@ -134,19 +134,19 @@ have been made.</p>
 
   <li>Deprecated the <a href="struct.html#__svg__SVGDocument__rootElement">rootElement</a> attribute.</li>
 
   <li>Defined event handler content attributes and IDL attributes on the root <a>'svg'</a> element to be for events fired at the <a>Window</a>, like HTML's event handler content attributes and IDL attribute on <code>body</code>.</li>
 
   <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
       <span class="attr-value">auto</span>.
   </li>
 
   <li>Removed the <span class="attr-name">baseProfile</span> and <span class="attr-name">version</span> attributes from the <a>'svg'</a> element.</li>
 </ul>
@@ -173,17 +173,17 @@ have been made.</p>
 <ul>
   <li>Added new <strong>B</strong> and
   <strong>b</strong> "bearing" path commands.</li>
 
   <li>Added new <strong>R</strong> and <strong>r</strong> Catmull-Rom curve commands.</li>
 
   <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>
 
 <h3 id="text">Text chapter</h3>
 
 <ul>
   <li>Added a number of missing attributes to the element summary boxes of the
   <a>'text'</a> and <a>'textPath'</a> elements.</li>
@@ -194,17 +194,17 @@ have been made.</p>
   <li>Added <a>'white-space'</a> property and deprecated <a>'xml:space'</a> attribute.</li>
 
   <li>Removed the <span class='property'>'kerning'</span> property.</li>
 
   <li>Added <a>'textPath/d'</a> attribute to <a>'textPath'</a>.</li>
 
   <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>
 
 <h3 id="embedded">Embedded Content chapter</h3>
 
 <ul>
   <li>Added this chapter, which includes new
@@ -327,16 +327,17 @@ have been made.</p>
   <li>Added <a>animation elements</a> to the content model of <a>'view'</a>.</li>
   <li>Added the possibility to link to SVG resources with fragment identifiers defined by the Media Fragments specification.</li>
 </ul>
 
 <h3 id="script">Scripting chapter</h3>
 
 <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>
 
 <ul>
   <li>Folded the ElementTimeControl interface into <a>SVGAnimationElement</a>.</li>
   <li>Removed the <span class="element-name">animateColor</span> element.</li>
   <li>Added the onbegin, onend and onrepeat attributes to the <a>SVGAnimationElement</a> interface.</li>
diff --git a/master/definitions.xml b/master/definitions.xml
--- a/master/definitions.xml
+++ b/master/definitions.xml
@@ -80,20 +80,20 @@
       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'
       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'
@@ -144,17 +144,17 @@
   </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, 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
@@ -212,20 +212,20 @@
       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'
       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'/>
     <attribute name='srcdoc' href='http://www.w3.org/TR/html5/embedded-content-0.html#dom-iframe-srcdoc' animatable='yes'/>       <attribute name='name' href='http://www.w3.org/TR/html5/embedded-content-0.html#dom-iframe-name' animatable='yes'/>
     <attribute name='sandbox' href='http://www.w3.org/TR/html5/embedded-content-0.html#dom-iframe-sandbox' animatable='yes'/>
     <attribute name='seamless' href='http://www.w3.org/TR/html5/embedded-content-0.html#dom-iframe-seamless' animatable='yes'/>
   </element>
 
@@ -471,21 +471,21 @@
       href='embedded.html#SourceElement'
       contentmodel='anyof'
       elementcategories=''
       elements='script'
       attributecategories='core, 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'
@@ -592,23 +592,23 @@
       href='embedded.html#TrackElement'
       contentmodel='anyof'
       elementcategories=''
       elements='script'
       attributecategories='core, 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'/>
     <attribute name='default' href='http://www.w3.org/TR/html5/embedded-content-0.html#attr-track-default' animatable='yes'/>
-    
+
   </element>
 
   <element
     name='tspan'
     href='text.html#TSpanElement'
     contentmodel='textoranyof'
     elementcategories='descriptive, paint server'
     elements='a, animate, script, set, tspan'
@@ -816,17 +816,16 @@
   </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'/>
-    <attribute name='onload' href='script.html#OnLoadEventAttribute'/>
   </attributecategory>
 
   <attributecategory
       name='xlink'
       href='intro.html#TermXLinkAttributes'
       attributes='xlink:href, xlink:show, xlink:actuate'>
     <attribute name='xlink:type' href='linking.html#XLinkTypeAttribute'/>
     <attribute name='xlink:role' href='linking.html#XLinkRoleAttribute'/>
@@ -882,17 +881,17 @@
   </attributecategory>
 
   <attributecategory
       name='embedding size'
       href='embedded.html#Placement'>
     <attribute name='width' href='embedded.html#PlacementWidthAttribute'/>
     <attribute name='height' href='embedded.html#PlacementHeightAttribute'/>
   </attributecategory>
-  
+
   <!-- ... properties ..................................................... -->
 
   <property name='alignment-baseline' href='text.html#AlignmentBaselineProperty'/>
   <property name='baseline-shift' href='text.html#BaselineShiftProperty'/>
   <property name='buffered-rendering' href='painting.html#BufferedRenderingProperty'/>
   <property name='color' href='color.html#ColorProperty'/>
   <property name='color-interpolation' href='painting.html#ColorInterpolationProperty'/>
   <property name='color-rendering' href='painting.html#ColorRenderingProperty'/>
@@ -1144,17 +1143,17 @@
   <symbol name='position' href='http://www.w3.org/TR/css3-background/#ltpositiongt'/>
   <symbol name='repeat-style' href='http://www.w3.org/TR/css3-background/#ltrepeat-stylegt'/>
   <symbol name='shape-box' href='http://www.w3.org/TR/2014/WD-css-shapes-1-20140211/#typedef-shape-box'/>
   <symbol name='time' href='types.html#DataTypeTime'/>
   <symbol name='transform-list' href='types.html#DataTypeTransformList'/>
   <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'/>
   <term name='animation elements' href='intro.html#TermAnimationElement'/>
   <term name='container element' href='intro.html#TermContainerElement'/>
   <term name='container elements' href='intro.html#TermContainerElement'/>
   <term name='basic shape element' href='intro.html#TermBasicShapeElement'/>
   <term name='basic shapes' href='intro.html#TermBasicShapeElement'/>
@@ -1270,17 +1269,17 @@
   <term name='viewport' href='intro.html#TermViewport'/>
   <term name='viewport coordinate system' href='intro.html#TermViewportCoordinateSystem'/>
   <term name='viewport space' href='intro.html#TermViewportSpace'/>
   <term name='comma-wsp' href='types.html#CommaWSP'/>
   <term name='wsp' href='types.html#WSP'/>
 
   <!-- ... 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'/>
   <term name='simple alpha compositing' href='masking.html#SimpleAlphaBlending'/>
   <term name='Conforming Dynamic SVG Viewers' href='conform.html#ConformingDynamicSVGViewers'/>
   <term name='Conforming Static SVG Viewers' href='conform.html#ConformingStaticSVGViewers'/>
 
   <!-- ... defined in coords.html ... -->
@@ -1357,9 +1356,8 @@
   <term name="forced line break" href="http://dev.w3.org/csswg/css-text/#forced-line-break"/>
 
   <!-- ... grammar symbols ................................................ -->
   <symbol name='angle' href='http://www.w3.org/TR/2012/WD-css3-values-20120308/#angles'/>
   <symbol name='identifier' href='http://www.w3.org/TR/2012/WD-css3-values-20120308/#identifier'/>
   <symbol name='transform-function' href='http://dev.w3.org/csswg/css3-transforms/#transform-functions'/>
 
 </definitions>
-
diff --git a/master/script.html b/master/script.html
--- a/master/script.html
+++ b/master/script.html
@@ -96,17 +96,17 @@ If the <a>SVG user agent</a> does not su
 
   <!-- Outline the drawing area with a blue line -->
   <rect x="1" y="1" width="598" height="498" fill="none" stroke="blue"/>
 
   <!-- Act on each click event -->
   <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
   </text>
 </svg>
 ]]></pre>
 
 <!--
@@ -143,17 +143,17 @@ If the <a>SVG user agent</a> does not su
         <td>application/ecmascript</td>
         <td>no</td>
       </tr>
     </table>
   </dt>
   <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
     language assumed is ECMAScript, as if processed with the
     <span class="attr-name">'application/ecmascript'</span> media type.
   </dd>
   <dt>
     <table class="propdef attrdef">
@@ -216,24 +216,16 @@ and descriptions of those events is prov
 <a href="interact.html#SVGEvents">Complete list of supported events</a>.</p>
 
 <p>The contents of event attributes are always interpreted as ECMAScript,
 as if processed with the media type <span class="attr-value">'application/ecmascript'</span>.
 [<a href="refs.html#ref-RFC2046">RFC2046</a>][<a href='refs.html#ref-RFC4329'>RFC4329</a>]</p>
 
 <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">
   <dt>
     <table class="propdef attrdef">
       <tr>
         <th>Name</th>
         <th>Value</th>
@@ -359,19 +351,16 @@ that load external resources.  This is r
   </dd>
 </dl>
 
 <h3 id="AnimationEvents">Animation event attributes</h3>
 
 <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">
   <dt>
     <table class="propdef attrdef">
       <tr>
         <th>Name</th>
         <th>Value</th>
@@ -456,17 +445,17 @@ document will be updated upon normal ret
 
 <dl>
 
 <dt><strong>SVGZoom</strong></dt>
 
 <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>
 
 <li>Bubbles: Yes</li>
 
 <li>Cancelable: No</li>
 
 <li>Context Info: zoomRectScreen, previousScale,

Received on Friday, 22 August 2014 14:11:56 UTC