Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGAnimationElement.idl
index babea08..deb09d7 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+// http://www.w3.org/TR/SVG2/animate.html#InterfaceSVGAnimationElement
+
 interface SVGAnimationElement : SVGElement {
     readonly attribute SVGElement targetElement;
 
+    attribute EventHandler onbegin;
+    attribute EventHandler onend;
+    attribute EventHandler onrepeat;
+
     float getStartTime();
     float getCurrentTime();
     float getSimpleDuration();
 
     void beginElement();
-    void beginElementAt([Default=Undefined] optional float offset);
+    void beginElementAt(float offset);
     void endElement();
-    void endElementAt([Default=Undefined] optional float offset);
+    void endElementAt(float offset);
 
-    attribute EventHandler onbegin;
-    attribute EventHandler onend;
-    attribute EventHandler onrepeat;
 };
 
 SVGAnimationElement implements SVGTests;