svg2: ACTION-3562: Add onbegin, onend, onrepeat to SVGAnimationElement.

details:   https://svgwg.org/hg/svg2/rev/c05cf4d044cd
branches:  
changeset: 609:c05cf4d044cd
user:      Erik Dahlstrom <ed@opera.com>
date:      Thu Feb 06 15:44:55 2014 +0100
description:
ACTION-3562: Add onbegin, onend, onrepeat to SVGAnimationElement.

Also updated some html5 spec links.

diffstat:

 master/animate.html    |  29 +++++++++++++++++++++++++++++
 master/changes.html    |   1 +
 master/definitions.xml |   7 ++++---
 3 files changed, 34 insertions(+), 3 deletions(-)

diffs (133 lines):

diff --git a/master/animate.html b/master/animate.html
--- a/master/animate.html
+++ b/master/animate.html
@@ -2990,16 +2990,20 @@ times, as described in
   also to <a href="http://www.w3.org/TR/2001/REC-smil-animation-20010904/#Restart">SMIL Animation: Restarting animation</a>
   ([<a href="refs.html#ref-SMILANIM">SMILANIM</a>], section 3.3.7).</li>
 </ul>
 
 <pre class="idl">interface <b>SVGAnimationElement</b> : <a>SVGElement</a> {
 
   readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a> <a href="animate.html#__svg__SVGAnimationElement__targetElement">targetElement</a>;
 
+  attribute <a>EventHandler</a> <a href="#__svg__SVGAnimationElement__onbegin">onbegin</a>;
+  attribute <a>EventHandler</a> <a href="#__svg__SVGAnimationElement__onend">onend</a>;
+  attribute <a>EventHandler</a> <a href="#__svg__SVGAnimationElement__onrepeat">onrepeat</a>;
+
   float <a href="animate.html#__svg__SVGAnimationElement__getStartTime">getStartTime</a>();
   float <a href="animate.html#__svg__SVGAnimationElement__getCurrentTime">getCurrentTime</a>();
   float <a href="animate.html#__svg__SVGAnimationElement__getSimpleDuration">getSimpleDuration</a>();
 
   void <a href="animate.html#__svg__SVGAnimationElement__beginElement">beginElement</a>();
   void <a href="animate.html#__svg__SVGAnimationElement__beginElementAt">beginElementAt</a>(float offset);
   void <a href="animate.html#__svg__SVGAnimationElement__endElement">endElement</a>();
   void <a href="animate.html#__svg__SVGAnimationElement__endElementAt">endElementAt</a>(float offset);
@@ -3014,18 +3018,43 @@ times, as described in
 
 <dt id="__svg__SVGAnimationElement__targetElement" class="attribute first-child"><b>targetElement</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a>)</span></dt>
 <dd class="attribute">
 <div>
 The element which is being animated.
 
 </div>
 </dd>
+
+<dt id="__svg__SVGAnimationElement__onbegin" class="attribute"><b>onbegin</b><span class="idl-type-parenthetical"> (<a>EventHandler</a>)</span></dt>
+<dd class="attribute">
+<div>
+The event handler for the <a class="event-name" href="interact.html#BeginEvent">beginEvent</a>.
+
+</div>
+</dd>
+
+<dt id="__svg__SVGAnimationElement__onend" class="attribute"><b>onend</b><span class="idl-type-parenthetical"> (<a>EventHandler</a>)</span></dt>
+<dd class="attribute">
+<div>
+The event handler for the <a class="event-name" href="interact.html#EndEvent">endEvent</a>.
+
+</div>
+</dd>
+
+<dt id="__svg__SVGAnimationElement__onrepeat" class="attribute"><b>onrepeat</b><span class="idl-type-parenthetical"> (<a>EventHandler</a>)</span></dt>
+<dd class="attribute">
+<div>
+The event handler for the <a class="event-name" href="interact.html#RepeatEvent">repeatEvent</a>.
+
+</div>
+</dd>
 </dl>
 </dd>
+
 <dt class="operations-header">Operations:</dt>
 <dd>
 <dl class="attributes">
 
 <dt id="__svg__SVGAnimationElement__getStartTime" class="operation first-child">float <b>getStartTime</b>()
 </dt>
 <dd class="operation">
 <div>
diff --git a/master/changes.html b/master/changes.html
--- a/master/changes.html
+++ b/master/changes.html
@@ -284,16 +284,17 @@ have been made.</p>
   <li>Removed the <span class="attr-name">'contentScriptType'</span> attribute.</li>
 </ul>
 
 <h3 id="animate">Animation chapter</h3>
 
 <ul>
   <li>Folded the ElementTimeControl interface into <a>SVGAnimationElement</a>.</li>
   <li class="added-since-last-wd">Removed the <span class="element-name">animateColor</span> element.</li>
+  <li class="added-since-last-wd">Added the onbegin, onend and onrepeat attributes to the <a>SVGAnimationElement</a> interface.</li>
 </ul>
 
 <h3 id="fonts">Fonts chapter</h3>
 
 <ul>
   <li>Added WOFF requirement, rearranged content.</li>
 </ul>
 
diff --git a/master/definitions.xml b/master/definitions.xml
--- a/master/definitions.xml
+++ b/master/definitions.xml
@@ -1517,16 +1517,17 @@
   <!-- ... defined in text.html ... -->
   <term name='current text position' href='text.html#CurrentTextPosition'/>
 
   <!-- === defined in other specifications ================================ -->
 
   <!-- ... interfaces ..................................................... -->
 
   <interface name='DocumentCSS' href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-DocumentCSS'/>
+  <interface name='EventHandler' href='http://www.w3.org/TR/2014/CR-html5-20140204/webappapis.html#event-handlers'/>
   <interface name='EventListener' href='http://www.w3.org/TR/2012/WD-dom-20120405/#eventlistener'/>
   <interface name='EventTarget' href='http://www.w3.org/TR/2012/WD-dom-20120405/#eventtarget'/>
   <interface name='Event' href='http://www.w3.org/TR/2012/WD-dom-20120405/#event'/>
   <interface name='event handler content attributes' href='http://www.w3.org/TR/2013/CR-html5-20130806/webappapis.html#event-handler-content-attributes'/>
   <interface name='event handler IDL attributes' href='http://www.w3.org/TR/2013/CR-html5-20130806/webappapis.html#event-handler-idl-attributes'/>
   <interface name='event handlers' href='http://www.w3.org/TR/2013/CR-html5-20130806/webappapis.html#event-handlers'/>
   <interface name='Document' href='http://www.w3.org/TR/2012/WD-dom-20120405/#interface-document'/>
   <interface name='CharacterData' href='http://www.w3.org/TR/2012/WD-dom-20120405/#interface-characterdata'/>
@@ -1538,19 +1539,19 @@
   <interface name='DOMException' href='http://www.w3.org/TR/2012/WD-dom-20120405/#exception-domexception'/>
   <interface name='CSSStyleDeclaration' href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-CSSStyleDeclaration'/>
   <interface name='CSSPrimitiveValue' href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-CSSPrimitiveValue'/>
   <interface name='CSSRule' href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-CSSRule'/>
   <interface name='ViewCSS' href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-ViewCSS'/>
   <interface name='RGBColor' href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-RGBColor'/>
   <interface name='AbstractView' href='http://www.w3.org/TR/DOM-Level-2-Views/views.html#Views-AbstractView'/>
   <interface name='EmbeddingElement' href='http://www.w3.org/TR/Window/#embeddingelt'/>
-  <interface name='Window' href='http://www.w3.org/TR/2013/CR-html5-20130806/browsers.html#the-window-object'/>
-  <interface name='WindowEventHandlers' href='http://www.w3.org/TR/2013/CR-html5-20130806/webappapis.html#windoweventhandlers'/>
-  <interface name='GlobalEventHandlers' href='http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#globaleventhandlers'/>
+  <interface name='Window' href='http://www.w3.org/TR/2014/CR-html5-20140204/browsers.html#the-window-object'/>
+  <interface name='WindowEventHandlers' href='http://www.w3.org/TR/2014/CR-html5-20140204/webappapis.html#windoweventhandlers'/>
+  <interface name='GlobalEventHandlers' href='http://www.w3.org/TR/2014/CR-html5-20140204/webappapis.html#globaleventhandlers'/>
 
   <!-- ... terms .......................................................... -->
   <term name='compound selector' href='http://dev.w3.org/csswg/selectors4/#compound'/>
   <term name='compound selectors' href='http://dev.w3.org/csswg/selectors4/#compound'/>
   <term name='tree order' href='http://www.w3.org/TR/2012/WD-dom-20120405/#concept-tree-order'/>
   <term name='InvalidAccessError' href='http://www.w3.org/TR/2012/WD-dom-20120405/#invalidaccesserror'/>
   <term name='InvalidStateError' href='http://www.w3.org/TR/2012/WD-dom-20120405/#invalidstateerror'/>
   <term name='SyntaxError' href='http://www.w3.org/TR/2012/WD-dom-20120405/#syntaxerror'/>

Received on Thursday, 6 February 2014 14:59:05 UTC