@@ -88,7 +88,7 @@ public void collectStylesDeclarationsTest01() throws IOException {
8888 "margin-right: 0" ,
8989 "margin-top: 1em" ,
9090 "display: block" ,
91- "font-family: times-roman " );
91+ "font-family: times" );
9292 }
9393
9494 @ Test
@@ -100,7 +100,7 @@ public void collectStylesDeclarationsTest02() throws IOException {
100100 "margin-right: 0" ,
101101 "margin-top: 1em" ,
102102 "display: block" ,
103- "font-family: times-roman " );
103+ "font-family: times" );
104104 }
105105
106106 @ Test
@@ -112,37 +112,37 @@ public void collectStylesDeclarationsTest03() throws IOException {
112112 "margin-right: 0" ,
113113 "margin-top: 1em" ,
114114 "display: block" ,
115- "font-family: times-roman " );
115+ "font-family: times" );
116116 }
117117
118118 @ Test
119119 public void stylesInheritanceTest01 () throws IOException {
120120 test ("stylesInheritanceTest01.html" , "html body p span" ,
121- "color: blue" , "text-align: center" , "font-style: italic" , "font-size: 11.25pt" , "font-family: times-roman " );
121+ "color: blue" , "text-align: center" , "font-style: italic" , "font-size: 11.25pt" , "font-family: times" );
122122 }
123123
124124 @ Test
125125 public void stylesInheritanceTest02 () throws IOException {
126126 test ("stylesInheritanceTest02.html" , "html body p span" ,
127- "color: black" , "text-align: center" , "font-style: italic" , "font-size: 11.25pt" , "font-family: times-roman " );
127+ "color: black" , "text-align: center" , "font-style: italic" , "font-size: 11.25pt" , "font-family: times" );
128128 }
129129
130130 @ Test
131131 public void stylesInheritanceTest03 () throws IOException {
132132 test ("stylesInheritanceTest03.html" , "html body p span" ,
133- "color: green" , "font-size: 12.0pt" , "font-family: times-roman " );
133+ "color: green" , "font-size: 12.0pt" , "font-family: times" );
134134 }
135135
136136 @ Test
137137 public void stylesInheritanceTest04 () throws IOException {
138138 test ("stylesInheritanceTest04.html" , "html body p span" ,
139- "color: blue" , "font-size: 12.0pt" , "font-family: times-roman " );
139+ "color: blue" , "font-size: 12.0pt" , "font-family: times" );
140140 }
141141
142142 @ Test
143143 public void stylesInheritanceTest05 () throws IOException {
144144 test ("stylesInheritanceTest05.html" , "html body p span" ,
145- "color: black" , "font-size: 12.0pt" , "font-family: times-roman " );
145+ "color: black" , "font-size: 12.0pt" , "font-family: times" );
146146 }
147147
148148 @ Test
@@ -151,7 +151,7 @@ public void stylesInheritanceTest06() throws IOException {
151151 "margin-left: 20px" ,
152152 "margin-right: 0" ,
153153 "background-color: yellow" ,
154- "font-size: 12.0pt" , "font-family: times-roman " );
154+ "font-size: 12.0pt" , "font-family: times" );
155155 }
156156
157157 @ Test
@@ -160,7 +160,7 @@ public void stylesInheritanceTest07() throws IOException {
160160 "margin-left: 0" ,
161161 "padding-top: 10px" ,
162162 "background-color: yellow" ,
163- "font-size: 12.0pt" , "font-family: times-roman " );
163+ "font-size: 12.0pt" , "font-family: times" );
164164 }
165165
166166 @ Test
@@ -184,7 +184,7 @@ public void stylesShorthandsTest01() throws IOException {
184184 "margin-right: 0" ,
185185 "margin-top: 1em" ,
186186 "display: block" ,
187- "font-family: times-roman " );
187+ "font-family: times" );
188188 }
189189
190190 @ Test
@@ -197,7 +197,7 @@ public void htmlStylesConvertingTest01() throws IOException {
197197 "margin-right: 0" ,
198198 "margin-top: 1em" ,
199199 "display: block" ,
200- "font-family: times-roman " );
200+ "font-family: times" );
201201 }
202202
203203 @ Test
@@ -210,7 +210,7 @@ public void htmlStylesConvertingTest02() throws IOException {
210210 "margin-right: 0" ,
211211 "margin-top: 1em" ,
212212 "display: block" ,
213- "font-family: times-roman " );
213+ "font-family: times" );
214214 }
215215
216216 @ Test
@@ -223,7 +223,7 @@ public void htmlStylesConvertingTest03() throws IOException {
223223 "margin-right: 0" ,
224224 "margin-top: 1em" ,
225225 "display: block" ,
226- "font-family: times-roman " );
226+ "font-family: times" );
227227 }
228228
229229 @ Test
@@ -236,7 +236,7 @@ public void htmlStylesConvertingTest04() throws IOException {
236236 "margin-right: 0" ,
237237 "margin-top: 1em" ,
238238 "display: block" ,
239- "font-family: times-roman " );
239+ "font-family: times" );
240240 }
241241
242242 @ Test
@@ -252,7 +252,7 @@ public void htmlStylesConvertingTest05() throws IOException {
252252 "text-indent: 0" ,
253253 "display: table" ,
254254 "border-spacing: 2px" ,
255- "font-family: times-roman " ,
255+ "font-family: times" ,
256256 "border-bottom-color: currentcolor" ,
257257 "border-left-color: currentcolor" ,
258258 "border-right-color: currentcolor" ,
@@ -268,7 +268,7 @@ public void htmlStylesConvertingTest06() throws IOException {
268268 "vertical-align: middle" ,
269269 "display: table-row" ,
270270 "border-spacing: 2px" ,
271- "font-family: times-roman " );
271+ "font-family: times" );
272272 }
273273
274274 @ Test
@@ -289,7 +289,7 @@ public void htmlStylesConvertingTest09() throws IOException {
289289 "text-align: center" ,
290290 "display: block" ,
291291 "font-size: 12.0pt" ,
292- "font-family: times-roman " );
292+ "font-family: times" );
293293 }
294294
295295 @ Test
@@ -304,7 +304,7 @@ public void htmlStylesConvertingTest11() throws IOException {
304304 "background-color: yellow" ,
305305 "font-size: 12.0pt" ,
306306 "display: block" ,
307- "font-family: times-roman " );
307+ "font-family: times" );
308308 }
309309
310310 private void resolveStylesForTree (INode node , ICssResolver cssResolver , CssContext context ) {
0 commit comments