ACTION-3562: Add onbegin, onend, onrepeat to SVGAnimationElement.
authorErik Dahlstrom <ed@opera.com>
Thu, 06 Feb 2014 15:44:55 +0100
changeset 609 c05cf4d044cd
parent 608 01c72c9e7295
child 610 fa21046239a3
ACTION-3562: Add onbegin, onend, onrepeat to SVGAnimationElement.

Also updated some html5 spec links.
master/animate.html
master/changes.html
master/definitions.xml
--- a/master/animate.html	Tue Feb 04 18:04:11 2014 +0900
+++ b/master/animate.html	Thu Feb 06 15:44:55 2014 +0100
@@ -2995,6 +2995,10 @@
 
   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>();
@@ -3019,8 +3023,33 @@
 
 </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">
--- a/master/changes.html	Tue Feb 04 18:04:11 2014 +0900
+++ b/master/changes.html	Thu Feb 06 15:44:55 2014 +0100
@@ -289,6 +289,7 @@
 <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>
--- a/master/definitions.xml	Tue Feb 04 18:04:11 2014 +0900
+++ b/master/definitions.xml	Thu Feb 06 15:44:55 2014 +0100
@@ -1522,6 +1522,7 @@
   <!-- ... 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'/>
@@ -1543,9 +1544,9 @@
   <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'/>