Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGSVGElement.idl
index 69fa16b..d05aec3 100644 (file)
@@ -23,7 +23,7 @@
 // TODO: no css::ViewCSS available!
 // TODO: no events::DocumentEvent available!
 [
-    // StrictTypeChecking,  // FIXME: createSVGTransformFromMatrix doesn't have [StrictTypeChecking]
+    StrictTypeChecking,
 ] interface SVGSVGElement : SVGGraphicsElement {
     readonly attribute SVGAnimatedLength x;
     readonly attribute SVGAnimatedLength y;
@@ -41,8 +41,8 @@
              attribute float currentScale;
     [ImplementedAs=currentTranslateFromJavascript] readonly attribute SVGPoint currentTranslate;
 
-    unsigned long suspendRedraw([Default=Undefined] optional unsigned long maxWaitMilliseconds);
-    void unsuspendRedraw([Default=Undefined] optional unsigned long suspendHandleId);
+    unsigned long suspendRedraw(unsigned long maxWaitMilliseconds);
+    void unsuspendRedraw(unsigned long suspendHandleId);
     void unsuspendRedrawAll();
     void forceRedraw();
     void pauseAnimations();
     boolean animationsPaused();
     float getCurrentTime();
     void setCurrentTime(float seconds);
-    [StrictTypeChecking] NodeList getIntersectionList(SVGRect rect,
-                                                      SVGElement? referenceElement);
-    [StrictTypeChecking] NodeList getEnclosureList(SVGRect rect,
-                                                   SVGElement? referenceElement);
-    [StrictTypeChecking] boolean checkIntersection(SVGElement element,
-                                                   SVGRect rect);
-    [StrictTypeChecking] boolean checkEnclosure(SVGElement element,
-                                                SVGRect rect);
+    NodeList getIntersectionList(SVGRect rect, SVGElement? referenceElement);
+    NodeList getEnclosureList(SVGRect rect, SVGElement? referenceElement);
+    boolean checkIntersection(SVGElement element, SVGRect rect);
+    boolean checkEnclosure(SVGElement element, SVGRect rect);
     void deselectAll();
 
     SVGNumber createSVGNumber();
@@ -67,8 +63,8 @@
     SVGMatrix createSVGMatrix();
     SVGRect createSVGRect();
     SVGTransform createSVGTransform();
-    SVGTransform createSVGTransformFromMatrix([Default=Undefined] optional SVGMatrix matrix);
-    Element getElementById([Default=Undefined] optional DOMString elementId);
+    SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix);
+    Element getElementById(DOMString elementId);
 };
 
 SVGSVGElement implements SVGFitToViewBox;