[HtmlUnit] SVN: [14446] trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/ javascript/host/svg/SVGElement.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[HtmlUnit] SVN: [14446] trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/ javascript/host/svg/SVGElement.java

asashour-2
Revision: 14446
          http://sourceforge.net/p/htmlunit/code/14446
Author:   asashour
Date:     2017-05-13 15:12:19 +0000 (Sat, 13 May 2017)
Log Message:
-----------
Remove SVGElement.getBBox()

Modified Paths:
--------------
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/svg/SVGElement.java

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/svg/SVGElement.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/svg/SVGElement.java 2017-05-13 15:05:48 UTC (rev 14445)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/svg/SVGElement.java 2017-05-13 15:12:19 UTC (rev 14446)
@@ -23,7 +23,6 @@
 
 import com.gargoylesoftware.htmlunit.javascript.configuration.JsxClass;
 import com.gargoylesoftware.htmlunit.javascript.configuration.JsxConstructor;
-import com.gargoylesoftware.htmlunit.javascript.configuration.JsxFunction;
 import com.gargoylesoftware.htmlunit.javascript.configuration.JsxGetter;
 import com.gargoylesoftware.htmlunit.javascript.configuration.JsxSetter;
 import com.gargoylesoftware.htmlunit.javascript.host.Element;
@@ -48,18 +47,6 @@
     }
 
     /**
-     * Returns the bounding box, in current user space, of the geometry of all contained graphics elements.
-     * @return the bounding box
-     */
-    @JsxFunction
-    public SVGRect getBBox() {
-        final SVGRect rect = new SVGRect();
-        rect.setParentScope(getParentScope());
-        rect.setPrototype(getPrototype(rect.getClass()));
-        return rect;
-    }
-
-    /**
      * {@inheritDoc}
      */
     @Override


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
HtmlUnit-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop