Quantcast

[HtmlUnit] SVN: [14438] trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/ html/DefaultElementFactory.java

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

[HtmlUnit] SVN: [14438] trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/ html/DefaultElementFactory.java

rbri
Revision: 14438
          http://sourceforge.net/p/htmlunit/code/14438
Author:   rbri
Date:     2017-05-12 16:12:32 +0000 (Fri, 12 May 2017)
Log Message:
-----------
cleanup

Modified Paths:
--------------
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/DefaultElementFactory.java

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/DefaultElementFactory.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/DefaultElementFactory.java 2017-05-12 05:32:19 UTC (rev 14437)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/DefaultElementFactory.java 2017-05-12 16:12:32 UTC (rev 14438)
@@ -15,7 +15,6 @@
 package com.gargoylesoftware.htmlunit.html;
 
 import static com.gargoylesoftware.htmlunit.BrowserVersionFeatures.HTMLABBREVIATED;
-import static com.gargoylesoftware.htmlunit.BrowserVersionFeatures.HTMLIMAGE_HTMLELEMENT;
 
 import java.util.Arrays;
 import java.util.LinkedHashMap;
@@ -152,9 +151,6 @@
                 if (browserVersion.hasFeature(HTMLABBREVIATED)) {
                     element = new HtmlBlockQuote(qualifiedName, page, attributeMap);
                 }
-                else if (browserVersion.hasFeature(HTMLIMAGE_HTMLELEMENT)) {
-                    element = new HtmlSpan(qualifiedName, page, attributeMap);
-                }
                 else {
                     element = new HtmlUnknownElement(page, qualifiedName, attributeMap);
                 }


------------------------------------------------------------------------------
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
Loading...