@@ -50,8 +50,6 @@ This file is part of the iText (R) project.
5050import com .itextpdf .svg .SvgConstants ;
5151import com .itextpdf .svg .css .impl .SvgStyleResolver ;
5252import com .itextpdf .svg .dummy .sdk .ExceptionInputStream ;
53- import com .itextpdf .svg .processors .impl .SvgConverterProperties ;
54- import com .itextpdf .svg .processors .impl .SvgProcessorContext ;
5553import com .itextpdf .test .ExtendedITextTest ;
5654import com .itextpdf .test .annotations .type .UnitTest ;
5755
@@ -60,7 +58,6 @@ This file is part of the iText (R) project.
6058import java .util .Map ;
6159
6260import org .junit .Assert ;
63- import org .junit .Ignore ;
6461import org .junit .Rule ;
6562import org .junit .Test ;
6663import org .junit .experimental .categories .Category ;
@@ -126,20 +123,4 @@ public void emptyStylesFallbackTest() throws IOException {
126123 junitExpectedException .expect (IOException .class );
127124 new SvgStyleResolver (new ExceptionInputStream ());
128125 }
129-
130-
131-
132- @ Test
133- @ Ignore ("DEVSIX-2289" )
134- public void inheritedDefaultStyleTest () {
135- ICssResolver styleResolver = new SvgStyleResolver ();
136- Element svg = new Element (Tag .valueOf ("svg" ), "" );
137- Element circle = new Element (Tag .valueOf ("circle" ), "" );
138- INode svgNode = new JsoupElementNode (svg );
139- svgNode .addChild (new JsoupElementNode (circle ));
140-
141- Map <String , String > resolvedStyles = styleResolver .resolveStyles (svgNode .childNodes ().get (0 ), null );
142-
143- Assert .assertEquals ("black" , resolvedStyles .get (SvgConstants .Attributes .STROKE ));
144- }
145126}
0 commit comments