@@ -50,8 +50,6 @@ This file is part of the iText (R) project.
50
50
import com .itextpdf .svg .SvgConstants ;
51
51
import com .itextpdf .svg .css .impl .SvgStyleResolver ;
52
52
import com .itextpdf .svg .dummy .sdk .ExceptionInputStream ;
53
- import com .itextpdf .svg .processors .impl .SvgConverterProperties ;
54
- import com .itextpdf .svg .processors .impl .SvgProcessorContext ;
55
53
import com .itextpdf .test .ExtendedITextTest ;
56
54
import com .itextpdf .test .annotations .type .UnitTest ;
57
55
@@ -60,7 +58,6 @@ This file is part of the iText (R) project.
60
58
import java .util .Map ;
61
59
62
60
import org .junit .Assert ;
63
- import org .junit .Ignore ;
64
61
import org .junit .Rule ;
65
62
import org .junit .Test ;
66
63
import org .junit .experimental .categories .Category ;
@@ -126,20 +123,4 @@ public void emptyStylesFallbackTest() throws IOException {
126
123
junitExpectedException .expect (IOException .class );
127
124
new SvgStyleResolver (new ExceptionInputStream ());
128
125
}
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
- }
145
126
}
0 commit comments