fontsize.js (47917B)
1 // For documentation of the format, see README in this directory. 2 var browserTests = [ 3 ["foo[]bar", 4 [["fontsize","4"]], 5 "foo[]bar", 6 [true], 7 {"fontsize":[false,false,"3",false,false,"4"]}], 8 ["<p>[foo</p> <p>bar]</p>", 9 [["stylewithcss","true"],["fontsize","4"]], 10 "<p><span style=\"font-size:large\">[foo</span></p> <p><span style=\"font-size:large\">bar]</span></p>", 11 [true,true], 12 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 13 ["<p>[foo</p> <p>bar]</p>", 14 [["stylewithcss","false"],["fontsize","4"]], 15 "<p><font size=\"4\">[foo</font></p> <p><font size=\"4\">bar]</font></p>", 16 [true,true], 17 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 18 ["<span>[foo</span> <span>bar]</span>", 19 [["stylewithcss","true"],["fontsize","4"]], 20 "<span style=\"font-size:large\"><span>[foo</span> <span>bar]</span></span>", 21 [true,true], 22 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 23 ["<span>[foo</span> <span>bar]</span>", 24 [["stylewithcss","false"],["fontsize","4"]], 25 "<font size=\"4\"><span>[foo</span> <span>bar]</span></font>", 26 [true,true], 27 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 28 ["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>", 29 [["stylewithcss","true"],["fontsize","4"]], 30 "<p><span style=\"font-size:large\">[foo</span></p><p> <span style=\"font-size:large\"><span>bar</span></span> </p><p><span style=\"font-size:large\">baz]</span></p>", 31 [true,true], 32 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 33 ["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>", 34 [["stylewithcss","false"],["fontsize","4"]], 35 "<p><font size=\"4\">[foo</font></p><p> <font size=\"4\"><span>bar</span></font> </p><p><font size=\"4\">baz]</font></p>", 36 [true,true], 37 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 38 ["<p>[foo<p><br><p>bar]", 39 [["stylewithcss","true"],["fontsize","4"]], 40 "<p><span style=\"font-size:large\">[foo</span></p><p><br></p><p><span style=\"font-size:large\">bar]</span></p>", 41 [true,true], 42 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",true,false,"4"]}], 43 ["<p>[foo<p><br><p>bar]", 44 [["stylewithcss","false"],["fontsize","4"]], 45 "<p><font size=\"4\">[foo</font></p><p><br></p><p><font size=\"4\">bar]</font></p>", 46 [true,true], 47 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",true,false,"4"]}], 48 ["<b>foo[]bar</b>", 49 [["fontsize","4"]], 50 "<b>foo[]bar</b>", 51 [true], 52 {"fontsize":[false,false,"3",false,false,"4"]}], 53 ["<i>foo[]bar</i>", 54 [["fontsize","4"]], 55 "<i>foo[]bar</i>", 56 [true], 57 {"fontsize":[false,false,"3",false,false,"4"]}], 58 ["<span>foo</span>{}<span>bar</span>", 59 [["fontsize","4"]], 60 "<span>foo</span>{}<span>bar</span>", 61 [true], 62 {"fontsize":[false,false,"3",false,false,"4"]}], 63 ["<span>foo[</span><span>]bar</span>", 64 [["fontsize","4"]], 65 "<span>foo[</span><span>]bar</span>", 66 [true], 67 {"fontsize":[false,false,"3",false,false,"4"]}], 68 ["foo[bar]baz", 69 [["stylewithcss","true"],["fontsize","4"]], 70 "foo<span style=\"font-size:large\">[bar]</span>baz", 71 [true,true], 72 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 73 ["foo[bar]baz", 74 [["stylewithcss","false"],["fontsize","4"]], 75 "foo<font size=\"4\">[bar]</font>baz", 76 [true,true], 77 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 78 ["foo[bar<b>baz]qoz</b>quz", 79 [["stylewithcss","true"],["fontsize","4"]], 80 "foo<span style=\"font-size:large\">[bar</span><b><span style=\"font-size:large\">baz]</span>qoz</b>quz", 81 [true,true], 82 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 83 ["foo[bar<b>baz]qoz</b>quz", 84 [["stylewithcss","false"],["fontsize","4"]], 85 "foo<font size=\"4\">[bar</font><b><font size=\"4\">baz]</font>qoz</b>quz", 86 [true,true], 87 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 88 ["foo[bar<i>baz]qoz</i>quz", 89 [["stylewithcss","true"],["fontsize","4"]], 90 "foo<span style=\"font-size:large\">[bar</span><i><span style=\"font-size:large\">baz]</span>qoz</i>quz", 91 [true,true], 92 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 93 ["foo[bar<i>baz]qoz</i>quz", 94 [["stylewithcss","false"],["fontsize","4"]], 95 "foo<font size=\"4\">[bar</font><i><font size=\"4\">baz]</font>qoz</i>quz", 96 [true,true], 97 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 98 ["{<p><p> <p>foo</p>}", 99 [["stylewithcss","true"],["fontsize","4"]], 100 "{<p></p><p> </p><p><span style=\"font-size:large\">foo</span></p>}", 101 [true,true], 102 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 103 ["{<p><p> <p>foo</p>}", 104 [["stylewithcss","false"],["fontsize","4"]], 105 "{<p></p><p> </p><p><font size=\"4\">foo</font></p>}", 106 [true,true], 107 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 108 ["foo[bar]baz", 109 [["stylewithcss","true"],["fontsize","1"]], 110 "foo<span style=\"font-size:x-small\">[bar]</span>baz", 111 [true,true], 112 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], 113 ["foo[bar]baz", 114 [["stylewithcss","false"],["fontsize","1"]], 115 "foo<font size=\"1\">[bar]</font>baz", 116 [true,true], 117 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], 118 ["foo[bar]baz", 119 [["stylewithcss","true"],["fontsize","0"]], 120 "foo<span style=\"font-size:x-small\">[bar]</span>baz", 121 [true,true], 122 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], 123 ["foo[bar]baz", 124 [["stylewithcss","false"],["fontsize","0"]], 125 "foo<font size=\"1\">[bar]</font>baz", 126 [true,true], 127 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], 128 ["foo[bar]baz", 129 [["stylewithcss","true"],["fontsize","-5"]], 130 "foo<span style=\"font-size:x-small\">[bar]</span>baz", 131 [true,true], 132 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], 133 ["foo[bar]baz", 134 [["stylewithcss","false"],["fontsize","-5"]], 135 "foo<font size=\"1\">[bar]</font>baz", 136 [true,true], 137 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], 138 ["foo[bar]baz", 139 [["stylewithcss","true"],["fontsize","6"]], 140 "foo<span style=\"font-size:xx-large\">[bar]</span>baz", 141 [true,true], 142 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"6"]}], 143 ["foo[bar]baz", 144 [["stylewithcss","false"],["fontsize","6"]], 145 "foo<font size=\"6\">[bar]</font>baz", 146 [true,true], 147 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"6"]}], 148 ["foo[bar]baz", 149 [["stylewithcss","true"],["fontsize","7"]], 150 "foo<font size=\"7\">[bar]</font>baz", 151 [true,true], 152 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}], 153 ["foo[bar]baz", 154 [["stylewithcss","false"],["fontsize","7"]], 155 "foo<font size=\"7\">[bar]</font>baz", 156 [true,true], 157 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}], 158 ["foo[bar]baz", 159 [["stylewithcss","true"],["fontsize","8"]], 160 "foo<font size=\"7\">[bar]</font>baz", 161 [true,true], 162 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}], 163 ["foo[bar]baz", 164 [["stylewithcss","false"],["fontsize","8"]], 165 "foo<font size=\"7\">[bar]</font>baz", 166 [true,true], 167 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}], 168 ["foo[bar]baz", 169 [["stylewithcss","true"],["fontsize","100"]], 170 "foo<font size=\"7\">[bar]</font>baz", 171 [true,true], 172 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}], 173 ["foo[bar]baz", 174 [["stylewithcss","false"],["fontsize","100"]], 175 "foo<font size=\"7\">[bar]</font>baz", 176 [true,true], 177 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}], 178 ["foo[bar]baz", 179 [["fontsize","2em"]], 180 "foo[bar]baz", 181 [false], 182 {"fontsize":[false,false,"3",false,false,"3"]}], 183 ["foo[bar]baz", 184 [["fontsize","20pt"]], 185 "foo[bar]baz", 186 [false], 187 {"fontsize":[false,false,"3",false,false,"3"]}], 188 ["foo[bar]baz", 189 [["fontsize","xx-large"]], 190 "foo[bar]baz", 191 [false], 192 {"fontsize":[false,false,"3",false,false,"3"]}], 193 ["foo[bar]baz", 194 [["stylewithcss","true"],["fontsize"," 1 "]], 195 "foo<span style=\"font-size:x-small\">[bar]</span>baz", 196 [true,true], 197 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], 198 ["foo[bar]baz", 199 [["stylewithcss","false"],["fontsize"," 1 "]], 200 "foo<font size=\"1\">[bar]</font>baz", 201 [true,true], 202 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], 203 ["foo[bar]baz", 204 [["fontsize","1."]], 205 "foo[bar]baz", 206 [false], 207 {"fontsize":[false,false,"3",false,false,"3"]}], 208 ["foo[bar]baz", 209 [["stylewithcss","true"],["fontsize","1.0"]], 210 "foo<span style=\"font-size:x-small\">[bar]</span>baz", 211 [true,true], 212 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], 213 ["foo[bar]baz", 214 [["stylewithcss","false"],["fontsize","1.0"]], 215 "foo<font size=\"1\">[bar]</font>baz", 216 [true,true], 217 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], 218 ["foo[bar]baz", 219 [["stylewithcss","true"],["fontsize","1.0e2"]], 220 "foo<span style=\"font-size:x-small\">[bar]</span>baz", 221 [true,true], 222 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], 223 ["foo[bar]baz", 224 [["stylewithcss","false"],["fontsize","1.0e2"]], 225 "foo<font size=\"1\">[bar]</font>baz", 226 [true,true], 227 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], 228 ["foo[bar]baz", 229 [["stylewithcss","true"],["fontsize","1.1"]], 230 "foo<span style=\"font-size:x-small\">[bar]</span>baz", 231 [true,true], 232 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], 233 ["foo[bar]baz", 234 [["stylewithcss","false"],["fontsize","1.1"]], 235 "foo<font size=\"1\">[bar]</font>baz", 236 [true,true], 237 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], 238 ["foo[bar]baz", 239 [["stylewithcss","true"],["fontsize","1.9"]], 240 "foo<span style=\"font-size:x-small\">[bar]</span>baz", 241 [true,true], 242 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], 243 ["foo[bar]baz", 244 [["stylewithcss","false"],["fontsize","1.9"]], 245 "foo<font size=\"1\">[bar]</font>baz", 246 [true,true], 247 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], 248 ["foo[bar]baz", 249 [["fontsize","+0"]], 250 "foo[bar]baz", 251 [true], 252 {"fontsize":[false,false,"3",false,false,"3"]}], 253 ["foo[bar]baz", 254 [["stylewithcss","true"],["fontsize","+1"]], 255 "foo<span style=\"font-size:large\">[bar]</span>baz", 256 [true,true], 257 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 258 ["foo[bar]baz", 259 [["stylewithcss","false"],["fontsize","+1"]], 260 "foo<font size=\"4\">[bar]</font>baz", 261 [true,true], 262 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 263 ["foo[bar]baz", 264 [["stylewithcss","true"],["fontsize","+9"]], 265 "foo<font size=\"7\">[bar]</font>baz", 266 [true,true], 267 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}], 268 ["foo[bar]baz", 269 [["stylewithcss","false"],["fontsize","+9"]], 270 "foo<font size=\"7\">[bar]</font>baz", 271 [true,true], 272 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}], 273 ["foo[bar]baz", 274 [["fontsize","-0"]], 275 "foo[bar]baz", 276 [true], 277 {"fontsize":[false,false,"3",false,false,"3"]}], 278 ["foo[bar]baz", 279 [["stylewithcss","true"],["fontsize","-1"]], 280 "foo<span style=\"font-size:small\">[bar]</span>baz", 281 [true,true], 282 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"2"]}], 283 ["foo[bar]baz", 284 [["stylewithcss","false"],["fontsize","-1"]], 285 "foo<font size=\"2\">[bar]</font>baz", 286 [true,true], 287 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"2"]}], 288 ["foo[bar]baz", 289 [["stylewithcss","true"],["fontsize","-9"]], 290 "foo<span style=\"font-size:x-small\">[bar]</span>baz", 291 [true,true], 292 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}], 293 ["foo[bar]baz", 294 [["stylewithcss","false"],["fontsize","-9"]], 295 "foo<font size=\"1\">[bar]</font>baz", 296 [true,true], 297 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}], 298 ["foo[bar]baz", 299 [["fontsize",""]], 300 "foo[bar]baz", 301 [false], 302 {"fontsize":[false,false,"3",false,false,"3"]}], 303 ["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>", 304 [["stylewithcss","true"],["fontsize","4"]], 305 "<table><tbody><tr><td>foo</td><td>b<span style=\"font-size:large\">[a]</span>r</td><td>baz</td></tr></tbody></table>", 306 [true,true], 307 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 308 ["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>", 309 [["stylewithcss","false"],["fontsize","4"]], 310 "<table><tbody><tr><td>foo</td><td>b<font size=\"4\">[a]</font>r</td><td>baz</td></tr></tbody></table>", 311 [true,true], 312 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 313 ["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>", 314 [["stylewithcss","true"],["fontsize","4"]], 315 "<table><tbody><tr><td>foo</td>{<td><span style=\"font-size:large\">bar</span></td>}<td>baz</td></tr></tbody></table>", 316 [true,true], 317 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 318 ["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>", 319 [["stylewithcss","false"],["fontsize","4"]], 320 "<table><tbody><tr><td>foo</td>{<td><font size=\"4\">bar</font></td>}<td>baz</td></tr></tbody></table>", 321 [true,true], 322 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 323 ["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>", 324 [["stylewithcss","true"],["fontsize","4"]], 325 "<table><tbody><tr>{<td><span style=\"font-size:large\">foo</span></td><td><span style=\"font-size:large\">bar</span></td>}<td>baz</td></tr></tbody></table>", 326 [true,true], 327 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 328 ["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>", 329 [["stylewithcss","false"],["fontsize","4"]], 330 "<table><tbody><tr>{<td><font size=\"4\">foo</font></td><td><font size=\"4\">bar</font></td>}<td>baz</td></tr></tbody></table>", 331 [true,true], 332 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 333 ["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>", 334 [["stylewithcss","true"],["fontsize","4"]], 335 "<table><tbody>{<tr><td><span style=\"font-size:large\">foo</span></td><td><span style=\"font-size:large\">bar</span></td><td><span style=\"font-size:large\">baz</span></td></tr>}</tbody></table>", 336 [true,true], 337 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 338 ["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>", 339 [["stylewithcss","false"],["fontsize","4"]], 340 "<table><tbody>{<tr><td><font size=\"4\">foo</font></td><td><font size=\"4\">bar</font></td><td><font size=\"4\">baz</font></td></tr>}</tbody></table>", 341 [true,true], 342 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 343 ["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>", 344 [["stylewithcss","true"],["fontsize","4"]], 345 "<table>{<tbody><tr><td><span style=\"font-size:large\">foo</span></td><td><span style=\"font-size:large\">bar</span></td><td><span style=\"font-size:large\">baz</span></td></tr></tbody>}</table>", 346 [true,true], 347 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 348 ["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>", 349 [["stylewithcss","false"],["fontsize","4"]], 350 "<table>{<tbody><tr><td><font size=\"4\">foo</font></td><td><font size=\"4\">bar</font></td><td><font size=\"4\">baz</font></td></tr></tbody>}</table>", 351 [true,true], 352 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 353 ["{<table><tr><td>foo<td>bar<td>baz</table>}", 354 [["stylewithcss","true"],["fontsize","4"]], 355 "{<table><tbody><tr><td><span style=\"font-size:large\">foo</span></td><td><span style=\"font-size:large\">bar</span></td><td><span style=\"font-size:large\">baz</span></td></tr></tbody></table>}", 356 [true,true], 357 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 358 ["{<table><tr><td>foo<td>bar<td>baz</table>}", 359 [["stylewithcss","false"],["fontsize","4"]], 360 "{<table><tbody><tr><td><font size=\"4\">foo</font></td><td><font size=\"4\">bar</font></td><td><font size=\"4\">baz</font></td></tr></tbody></table>}", 361 [true,true], 362 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 363 ["foo<font size=1>[bar]</font>baz", 364 [["stylewithcss","true"],["fontsize","4"]], 365 "foo<span style=\"font-size:large\">[bar]</span>baz", 366 [true,true], 367 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}], 368 ["foo<font size=1>[bar]</font>baz", 369 [["stylewithcss","false"],["fontsize","4"]], 370 "foo<font size=\"4\">[bar]</font>baz", 371 [true,true], 372 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}], 373 ["<font size=1>foo[bar]baz</font>", 374 [["stylewithcss","true"],["fontsize","4"]], 375 "<font size=\"1\">foo</font><span style=\"font-size:large\">[bar]</span><font size=\"1\">baz</font>", 376 [true,true], 377 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}], 378 ["<font size=1>foo[bar]baz</font>", 379 [["stylewithcss","false"],["fontsize","4"]], 380 "<font size=\"1\">foo</font><font size=\"4\">[bar]</font><font size=\"1\">baz</font>", 381 [true,true], 382 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}], 383 ["foo<font size=3>[bar]</font>baz", 384 [["stylewithcss","true"],["fontsize","4"]], 385 "foo<span style=\"font-size:large\">[bar]</span>baz", 386 [true,true], 387 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 388 ["foo<font size=3>[bar]</font>baz", 389 [["stylewithcss","false"],["fontsize","4"]], 390 "foo<font size=\"4\">[bar]</font>baz", 391 [true,true], 392 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 393 ["<font size=3>foo[bar]baz</font>", 394 [["stylewithcss","true"],["fontsize","4"]], 395 "<font size=\"3\">foo</font><span style=\"font-size:large\">[bar]</span><font size=\"3\">baz</font>", 396 [true,true], 397 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 398 ["<font size=3>foo[bar]baz</font>", 399 [["stylewithcss","false"],["fontsize","4"]], 400 "<font size=\"3\">foo</font><font size=\"4\">[bar]</font><font size=\"3\">baz</font>", 401 [true,true], 402 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 403 ["foo<font size=4>[bar]</font>baz", 404 [["stylewithcss","true"],["fontsize","4"]], 405 "foo<span style=\"font-size:large\">[bar]</span>baz", 406 [true,true], 407 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"4"]}], 408 ["foo<font size=4>[bar]</font>baz", 409 [["stylewithcss","false"],["fontsize","4"]], 410 "foo<font size=\"4\">[bar]</font>baz", 411 [true,true], 412 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"4"]}], 413 ["<font size=4>foo[bar]baz</font>", 414 [["fontsize","4"]], 415 "<font size=\"4\">foo[bar]baz</font>", 416 [true], 417 {"fontsize":[false,false,"4",false,false,"4"]}], 418 ["foo<font size=+1>[bar]</font>baz", 419 [["stylewithcss","true"],["fontsize","4"]], 420 "foo<span style=\"font-size:large\">[bar]</span>baz", 421 [true,true], 422 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"4"]}], 423 ["foo<font size=+1>[bar]</font>baz", 424 [["stylewithcss","false"],["fontsize","4"]], 425 "foo<font size=\"4\">[bar]</font>baz", 426 [true,true], 427 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"4"]}], 428 ["<font size=+1>foo[bar]baz</font>", 429 [["fontsize","4"]], 430 "<font size=\"+1\">foo[bar]baz</font>", 431 [true], 432 {"fontsize":[false,false,"4",false,false,"4"]}], 433 ["<font size=4>foo<font size=1>b[a]r</font>baz</font>", 434 [["stylewithcss","true"],["fontsize","4"]], 435 "<font size=\"4\">foo<span style=\"font-size:x-small\">b</span>[a]<span style=\"font-size:x-small\">r</span>baz</font>", 436 [true,true], 437 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}], 438 ["<font size=4>foo<font size=1>b[a]r</font>baz</font>", 439 [["stylewithcss","false"],["fontsize","4"]], 440 "<font size=\"4\">foo<font size=\"1\">b</font>[a]<font size=\"1\">r</font>baz</font>", 441 [true,true], 442 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}], 443 ["foo<span style=\"font-size: xx-small\">[bar]</span>baz", 444 [["stylewithcss","true"],["fontsize","4"]], 445 "foo<span style=\"font-size:large\">[bar]</span>baz", 446 [true,true], 447 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}], 448 ["foo<span style=\"font-size: xx-small\">[bar]</span>baz", 449 [["stylewithcss","false"],["fontsize","4"]], 450 "foo<font size=\"4\">[bar]</font>baz", 451 [true,true], 452 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}], 453 ["<span style=\"font-size: xx-small\">foo[bar]baz</span>", 454 [["stylewithcss","true"],["fontsize","4"]], 455 "<span style=\"font-size:xx-small\">foo</span><span style=\"font-size:large\">[bar]</span><span style=\"font-size:xx-small\">baz</span>", 456 [true,true], 457 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}], 458 ["<span style=\"font-size: xx-small\">foo[bar]baz</span>", 459 [["stylewithcss","false"],["fontsize","4"]], 460 "<span style=\"font-size:xx-small\">foo</span><font size=\"4\">[bar]</font><span style=\"font-size:xx-small\">baz</span>", 461 [true,true], 462 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}], 463 ["foo<span style=\"font-size: medium\">[bar]</span>baz", 464 [["stylewithcss","true"],["fontsize","4"]], 465 "foo<span style=\"font-size:large\">[bar]</span>baz", 466 [true,true], 467 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 468 ["foo<span style=\"font-size: medium\">[bar]</span>baz", 469 [["stylewithcss","false"],["fontsize","4"]], 470 "foo<font size=\"4\">[bar]</font>baz", 471 [true,true], 472 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 473 ["<span style=\"font-size: medium\">foo[bar]baz</span>", 474 [["stylewithcss","true"],["fontsize","4"]], 475 "<span style=\"font-size:medium\">foo</span><span style=\"font-size:large\">[bar]</span><span style=\"font-size:medium\">baz</span>", 476 [true,true], 477 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 478 ["<span style=\"font-size: medium\">foo[bar]baz</span>", 479 [["stylewithcss","false"],["fontsize","4"]], 480 "<span style=\"font-size:medium\">foo</span><font size=\"4\">[bar]</font><span style=\"font-size:medium\">baz</span>", 481 [true,true], 482 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 483 ["foo<span style=\"font-size: large\">[bar]</span>baz", 484 [["stylewithcss","true"],["fontsize","4"]], 485 "foo<span style=\"font-size:large\">[bar]</span>baz", 486 [true,true], 487 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"4"]}], 488 ["foo<span style=\"font-size: large\">[bar]</span>baz", 489 [["stylewithcss","false"],["fontsize","4"]], 490 "foo<font size=\"4\">[bar]</font>baz", 491 [true,true], 492 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"4"]}], 493 ["<span style=\"font-size: large\">foo[bar]baz</span>", 494 [["fontsize","4"]], 495 "<span style=\"font-size:large\">foo[bar]baz</span>", 496 [true], 497 {"fontsize":[false,false,"4",false,false,"4"]}], 498 ["<span style=\"font-size: large\">foo<span style=\"font-size: xx-small\">b[a]r</span>baz</span>", 499 [["stylewithcss","true"],["fontsize","4"]], 500 "<span style=\"font-size:large\">foo<span style=\"font-size:xx-small\">b</span>[a]<span style=\"font-size:xx-small\">r</span>baz</span>", 501 [true,true], 502 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}], 503 ["<span style=\"font-size: large\">foo<span style=\"font-size: xx-small\">b[a]r</span>baz</span>", 504 [["stylewithcss","false"],["fontsize","4"]], 505 "<span style=\"font-size:large\">foo<span style=\"font-size:xx-small\">b</span>[a]<span style=\"font-size:xx-small\">r</span>baz</span>", 506 [true,true], 507 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}], 508 ["foo<span style=\"font-size: 2em\">[bar]</span>baz", 509 [["stylewithcss","true"],["fontsize","4"]], 510 "foo<span style=\"font-size:large\">[bar]</span>baz", 511 [true,true], 512 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"4"]}], 513 ["foo<span style=\"font-size: 2em\">[bar]</span>baz", 514 [["stylewithcss","false"],["fontsize","4"]], 515 "foo<font size=\"4\">[bar]</font>baz", 516 [true,true], 517 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"4"]}], 518 ["<span style=\"font-size: 2em\">foo[bar]baz</span>", 519 [["stylewithcss","true"],["fontsize","4"]], 520 "<span style=\"font-size:2em\">foo</span><span style=\"font-size:large\">[bar]</span><span style=\"font-size:2em\">baz</span>", 521 [true,true], 522 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"4"]}], 523 ["<span style=\"font-size: 2em\">foo[bar]baz</span>", 524 [["stylewithcss","false"],["fontsize","4"]], 525 "<span style=\"font-size:2em\">foo</span><font size=\"4\">[bar]</font><span style=\"font-size:2em\">baz</span>", 526 [true,true], 527 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"4"]}], 528 ["<p style=\"font-size: xx-small\">foo[bar]baz</p>", 529 [["stylewithcss","true"],["fontsize","4"]], 530 "<p style=\"font-size:xx-small\">foo<span style=\"font-size:large\">[bar]</span>baz</p>", 531 [true,true], 532 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}], 533 ["<p style=\"font-size: xx-small\">foo[bar]baz</p>", 534 [["stylewithcss","false"],["fontsize","4"]], 535 "<p style=\"font-size:xx-small\">foo<font size=\"4\">[bar]</font>baz</p>", 536 [true,true], 537 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}], 538 ["<p style=\"font-size: medium\">foo[bar]baz</p>", 539 [["stylewithcss","true"],["fontsize","4"]], 540 "<p style=\"font-size:medium\">foo<span style=\"font-size:large\">[bar]</span>baz</p>", 541 [true,true], 542 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 543 ["<p style=\"font-size: medium\">foo[bar]baz</p>", 544 [["stylewithcss","false"],["fontsize","4"]], 545 "<p style=\"font-size:medium\">foo<font size=\"4\">[bar]</font>baz</p>", 546 [true,true], 547 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 548 ["<p style=\"font-size: large\">foo[bar]baz</p>", 549 [["fontsize","4"]], 550 "<p style=\"font-size:large\">foo[bar]baz</p>", 551 [true], 552 {"fontsize":[false,false,"4",false,false,"4"]}], 553 ["<p style=\"font-size: 2em\">foo[bar]baz</p>", 554 [["stylewithcss","true"],["fontsize","4"]], 555 "<p style=\"font-size:2em\">foo<span style=\"font-size:large\">[bar]</span>baz</p>", 556 [true,true], 557 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"4"]}], 558 ["<p style=\"font-size: 2em\">foo[bar]baz</p>", 559 [["stylewithcss","false"],["fontsize","4"]], 560 "<p style=\"font-size:2em\">foo<font size=\"4\">[bar]</font>baz</p>", 561 [true,true], 562 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"4"]}], 563 ["<p style=\"font-size: xx-small\">foo[bar]baz</p>", 564 [["stylewithcss","true"],["fontsize","3"]], 565 "<p><span style=\"font-size:xx-small\">foo</span>[bar]<span style=\"font-size:xx-small\">baz</span></p>", 566 [true,true], 567 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"3"]}], 568 ["<p style=\"font-size: xx-small\">foo[bar]baz</p>", 569 [["stylewithcss","false"],["fontsize","3"]], 570 "<p><span style=\"font-size:xx-small\">foo</span>[bar]<span style=\"font-size:xx-small\">baz</span></p>", 571 [true,true], 572 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"3"]}], 573 ["<p style=\"font-size: medium\">foo[bar]baz</p>", 574 [["fontsize","3"]], 575 "<p style=\"font-size:medium\">foo[bar]baz</p>", 576 [true], 577 {"fontsize":[false,false,"3",false,false,"3"]}], 578 ["<p style=\"font-size: large\">foo[bar]baz</p>", 579 [["stylewithcss","true"],["fontsize","3"]], 580 "<p><span style=\"font-size:large\">foo</span>[bar]<span style=\"font-size:large\">baz</span></p>", 581 [true,true], 582 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"3"]}], 583 ["<p style=\"font-size: large\">foo[bar]baz</p>", 584 [["stylewithcss","false"],["fontsize","3"]], 585 "<p><font size=\"4\">foo</font>[bar]<font size=\"4\">baz</font></p>", 586 [true,true], 587 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"3"]}], 588 ["<p style=\"font-size: 2em\">foo[bar]baz</p>", 589 [["stylewithcss","true"],["fontsize","3"]], 590 "<p><span style=\"font-size:2em\">foo</span>[bar]<span style=\"font-size:2em\">baz</span></p>", 591 [true,true], 592 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"3"]}], 593 ["<p style=\"font-size: 2em\">foo[bar]baz</p>", 594 [["stylewithcss","false"],["fontsize","3"]], 595 "<p><span style=\"font-size:2em\">foo</span>[bar]<span style=\"font-size:2em\">baz</span></p>", 596 [true,true], 597 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"3"]}], 598 ["<font size=6>foo <span style=\"font-size: 2em\">b[a]r</span> baz</font>", 599 [["stylewithcss","true"],["fontsize","3"]], 600 "<span style=\"font-size:xx-large\">foo </span><span style=\"font-size:2em\">b</span>[a]<span style=\"font-size:2em\">r</span><span style=\"font-size:xx-large\"> baz</span>", 601 [true,true], 602 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"7",false,false,"3"]}], 603 ["<font size=6>foo <span style=\"font-size: 2em\">b[a]r</span> baz</font>", 604 [["stylewithcss","false"],["fontsize","3"]], 605 "<font size=\"6\">foo </font><span style=\"font-size:2em\">b</span>[a]<span style=\"font-size:2em\">r</span><font size=\"6\"> baz</font>", 606 [true,true], 607 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"7",false,false,"3"]}], 608 ["foo<big>[bar]</big>baz", 609 [["stylewithcss","true"],["fontsize","3"]], 610 "foo<big><span style=\"font-size:medium\">[bar]</span></big>baz", 611 [true,true], 612 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"3"]}], 613 ["foo<big>[bar]</big>baz", 614 [["stylewithcss","false"],["fontsize","3"]], 615 "foo<big><font size=\"3\">[bar]</font></big>baz", 616 [true,true], 617 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"3"]}], 618 ["foo<big>b[a]r</big>baz", 619 [["stylewithcss","true"],["fontsize","3"]], 620 "foo<big>b<span style=\"font-size:medium\">[a]</span>r</big>baz", 621 [true,true], 622 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"3"]}], 623 ["foo<big>b[a]r</big>baz", 624 [["stylewithcss","false"],["fontsize","3"]], 625 "foo<big>b<font size=\"3\">[a]</font>r</big>baz", 626 [true,true], 627 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"3"]}], 628 ["foo<small>[bar]</small>baz", 629 [["stylewithcss","true"],["fontsize","3"]], 630 "foo<small><span style=\"font-size:medium\">[bar]</span></small>baz", 631 [true,true], 632 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"3"]}], 633 ["foo<small>[bar]</small>baz", 634 [["stylewithcss","false"],["fontsize","3"]], 635 "foo<small><font size=\"3\">[bar]</font></small>baz", 636 [true,true], 637 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"3"]}], 638 ["foo<small>b[a]r</small>baz", 639 [["stylewithcss","true"],["fontsize","3"]], 640 "foo<small>b<span style=\"font-size:medium\">[a]</span>r</small>baz", 641 [true,true], 642 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"3"]}], 643 ["foo<small>b[a]r</small>baz", 644 [["stylewithcss","false"],["fontsize","3"]], 645 "foo<small>b<font size=\"3\">[a]</font>r</small>baz", 646 [true,true], 647 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"3"]}], 648 ["fo[o<font size=2>b]ar</font>baz", 649 [["stylewithcss","true"],["fontsize","4"]], 650 "fo<span style=\"font-size:large\">[ob]</span><font size=\"2\">ar</font>baz", 651 [true,true], 652 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"3",false,false,"4"]}], 653 ["fo[o<font size=2>b]ar</font>baz", 654 [["stylewithcss","false"],["fontsize","4"]], 655 "fo<font size=\"4\">[ob]</font><font size=\"2\">ar</font>baz", 656 [true,true], 657 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"3",false,false,"4"]}], 658 ["foo<font size=2>ba[r</font>b]az", 659 [["stylewithcss","true"],["fontsize","4"]], 660 "foo<font size=\"2\">ba</font><span style=\"font-size:large\">[rb]</span>az", 661 [true,true], 662 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"2",false,false,"4"]}], 663 ["foo<font size=2>ba[r</font>b]az", 664 [["stylewithcss","false"],["fontsize","4"]], 665 "foo<font size=\"2\">ba</font><font size=\"4\">[rb]</font>az", 666 [true,true], 667 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"2",false,false,"4"]}], 668 ["fo[o<font size=2>bar</font>b]az", 669 [["stylewithcss","true"],["fontsize","4"]], 670 "fo<span style=\"font-size:large\">[obarb]</span>az", 671 [true,true], 672 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"3",false,false,"4"]}], 673 ["fo[o<font size=2>bar</font>b]az", 674 [["stylewithcss","false"],["fontsize","4"]], 675 "fo<font size=\"4\">[obarb]</font>az", 676 [true,true], 677 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"3",false,false,"4"]}], 678 ["foo[<font size=2>b]ar</font>baz", 679 [["stylewithcss","true"],["fontsize","4"]], 680 "foo<span style=\"font-size:large\">b</span><font size=\"2\">ar</font>baz", 681 [true,true], 682 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], 683 ["foo[<font size=2>b]ar</font>baz", 684 [["stylewithcss","false"],["fontsize","4"]], 685 "foo<font size=\"4\">[b]</font><font size=\"2\">ar</font>baz", 686 [true,true], 687 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], 688 ["foo<font size=2>ba[r</font>]baz", 689 [["stylewithcss","true"],["fontsize","4"]], 690 "foo<font size=\"2\">ba</font><span style=\"font-size:large\">r</span>baz", 691 [true,true], 692 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], 693 ["foo<font size=2>ba[r</font>]baz", 694 [["stylewithcss","false"],["fontsize","4"]], 695 "foo<font size=\"2\">ba</font><font size=\"4\">[r]</font>baz", 696 [true,true], 697 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], 698 ["foo[<font size=2>bar</font>]baz", 699 [["stylewithcss","true"],["fontsize","4"]], 700 "foo[<span style=\"font-size:large\">bar</span>]baz", 701 [true,true], 702 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], 703 ["foo[<font size=2>bar</font>]baz", 704 [["stylewithcss","false"],["fontsize","4"]], 705 "foo[<font size=\"4\">bar</font>]baz", 706 [true,true], 707 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], 708 ["foo<font size=2>[bar]</font>baz", 709 [["stylewithcss","true"],["fontsize","4"]], 710 "foo<span style=\"font-size:large\">[bar]</span>baz", 711 [true,true], 712 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], 713 ["foo<font size=2>[bar]</font>baz", 714 [["stylewithcss","false"],["fontsize","4"]], 715 "foo<font size=\"4\">[bar]</font>baz", 716 [true,true], 717 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], 718 ["foo{<font size=2>bar</font>}baz", 719 [["stylewithcss","true"],["fontsize","4"]], 720 "foo{<span style=\"font-size:large\">bar}</span>baz", 721 [true,true], 722 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], 723 ["foo{<font size=2>bar</font>}baz", 724 [["stylewithcss","false"],["fontsize","4"]], 725 "foo{<font size=\"4\">bar}</font>baz", 726 [true,true], 727 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], 728 ["<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>", 729 [["stylewithcss","true"],["fontsize","4"]], 730 "<font size=\"1\">fo</font><span style=\"font-size:large\">[ob]</span><span style=\"font-size:xx-small\">ar</span>", 731 [true,true], 732 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"1",false,false,"4"]}], 733 ["<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>", 734 [["stylewithcss","false"],["fontsize","4"]], 735 "<font size=\"1\">fo</font><font size=\"4\">[ob]</font><span style=\"font-size:xx-small\">ar</span>", 736 [true,true], 737 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"1",false,false,"4"]}], 738 ["<font size=2>fo[o</font><span style=font-size:small>b]ar</span>", 739 [["stylewithcss","true"],["fontsize","4"]], 740 "<font size=\"2\">fo</font><span style=\"font-size:large\">[ob]</span><span style=\"font-size:small\">ar</span>", 741 [true,true], 742 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}], 743 ["<font size=2>fo[o</font><span style=font-size:small>b]ar</span>", 744 [["stylewithcss","false"],["fontsize","4"]], 745 "<font size=\"2\">fo</font><font size=\"4\">[ob]</font><span style=\"font-size:small\">ar</span>", 746 [true,true], 747 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}], 748 ["<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>", 749 [["stylewithcss","true"],["fontsize","4"]], 750 "<font size=\"3\">fo</font><span style=\"font-size:large\">[ob]</span><span style=\"font-size:medium\">ar</span>", 751 [true,true], 752 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}], 753 ["<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>", 754 [["stylewithcss","false"],["fontsize","4"]], 755 "<font size=\"3\">fo</font><font size=\"4\">ob</font><span style=\"font-size:medium\">ar</span>", 756 [true,true], 757 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}], 758 ["<font size=4>fo[o</font><span style=font-size:large>b]ar</span>", 759 [["fontsize","4"]], 760 "<font size=\"4\">fo[o</font><span style=\"font-size:large\">b]ar</span>", 761 [true], 762 {"fontsize":[false,false,"4",false,false,"4"]}], 763 ["<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>", 764 [["stylewithcss","true"],["fontsize","4"]], 765 "<font size=\"5\">fo</font><span style=\"font-size:large\">[ob]</span><span style=\"font-size:x-large\">ar</span>", 766 [true,true], 767 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"5",false,false,"4"]}], 768 ["<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>", 769 [["stylewithcss","false"],["fontsize","4"]], 770 "<font size=\"5\">fo</font><font size=\"4\">[ob]</font><span style=\"font-size:x-large\">ar</span>", 771 [true,true], 772 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"5",false,false,"4"]}], 773 ["<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>", 774 [["stylewithcss","true"],["fontsize","4"]], 775 "<font size=\"6\">fo</font><span style=\"font-size:large\">ob</span><span style=\"font-size:xx-large\">ar</span>", 776 [true,true], 777 {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"4"]}], 778 ["<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>", 779 [["stylewithcss","false"],["fontsize","4"]], 780 "<font size=\"6\">fo</font><font size=\"4\">ob</font><span style=\"font-size:xx-large\">ar</span>", 781 [true,true], 782 {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"4"]}], 783 784 // If contents of <font> are entirely selected, it should be reused. 785 ["<font color=#ff0000>[abc]</font>", 786 [["styleWithCSS","false"],["fontSize","7"]], 787 ["<font color=\"#ff0000\" size=\"7\">[abc]</font>", 788 "<font size=\"7\" color=\"#ff0000\">[abc]</font>"], 789 [true,true], 790 {}], 791 ["<font face=monospace>[abc]</font>", 792 [["styleWithCSS","false"],["fontSize","7"]], 793 ["<font face=\"monospace\" size=\"7\">[abc]</font>", 794 "<font size=\"7\" face=\"monospace\">[abc]</font>"], 795 [true,true], 796 {}], 797 ["<font color=#ff0000 face=monospace>[abc]</font>", 798 [["styleWithCSS","false"],["fontSize","7"]], 799 ["<font color=\"#ff0000\" face=\"monospace\" size=\"7\">[abc]</font>", 800 "<font color=\"#ff0000\" size=\"7\" face=\"monospace\">[abc]</font>", 801 "<font face=\"monospace\" color=\"#ff0000\" size=\"7\">[abc]</font>", 802 "<font face=\"monospace\" size=\"7\" color=\"#ff0000\">[abc]</font>", 803 "<font size=\"7\" color=\"#ff0000\" face=\"monospace\">[abc]</font>", 804 "<font size=\"7\" face=\"monospace\" color=\"#ff0000\">[abc]</font>"], 805 [true,true], 806 {}], 807 // but don't split existing <font> if partially selected. 808 ["<font color=#ff0000>[a]bc</font>", 809 [["styleWithCSS","false"],["fontSize","7"]], 810 "<font color=\"#ff0000\"><font size=\"7\">[a]</font>bc</font>", 811 [true,true], 812 {}], 813 ["<font color=#ff0000>ab[c]</font>", 814 [["styleWithCSS","false"],["fontSize","7"]], 815 "<font color=\"#ff0000\">ab<font size=\"7\">[c]</font></font>", 816 [true,true], 817 {}], 818 ["<font face=monospace>[a]bc</font>", 819 [["styleWithCSS","false"],["fontSize","7"]], 820 "<font face=\"monospace\"><font size=\"7\">[a]</font>bc</font>", 821 [true,true], 822 {}], 823 ["<font face=monospace>ab[c]</font>", 824 [["styleWithCSS","false"],["fontSize","7"]], 825 "<font face=\"monospace\">ab<font size=\"7\">[c]</font></font>", 826 [true,true], 827 {}], 828 829 // font-size should be removed when applying fontsize without CSS. 830 // Blink and WebKit puts <font size="..."> into the <span> element in these 831 // test cases. However, this behavior may cause the background color is 832 // partially applied to the text because the height is computed without the 833 // <font>. Therefore, it may be better to put <font> outside any inline 834 // ancestors. 835 ["<span style=\"font-size:32px; background-color:rgb(0, 128, 128)\">[abc]</span>", 836 [["styleWithCSS","false"],["fontSize","5"]], 837 ["<span style=\"background-color:rgb(0, 128, 128)\"><font size=\"5\">[abc]</font></span>", 838 "<font size=\"5\"><span style=\"background-color:rgb(0, 128, 128)\">[abc]</span></font>"], 839 [true,true], 840 {}], 841 ["<span style=\"font-size:32px; background-color:rgb(0, 128, 128)\">[a]bc</span>", 842 [["styleWithCSS","false"],["fontSize","5"]], 843 ["<span style=\"background-color:rgb(0, 128, 128)\"><font size=\"5\">[a]</font></span><span style=\"font-size:32px; background-color:rgb(0, 128, 128)\">bc</span>", 844 "<font size=\"5\"><span style=\"background-color:rgb(0, 128, 128)\">[a]</span></font><span style=\"font-size:32px; background-color:rgb(0, 128, 128)\">bc</span>"], 845 [true,true], 846 {}], 847 ["<span style=\"font-size:32px; background-color:rgb(0, 128, 128)\">a[b]c</span>", 848 [["styleWithCSS","false"],["fontSize","5"]], 849 ["<span style=\"font-size:32px; background-color:rgb(0, 128, 128)\">a</span><span style=\"background-color:rgb(0, 128, 128)\"><font size=\"5\">[b]</font></span><span style=\"font-size:32px; background-color:rgb(0, 128, 128)\">c</span>", 850 "<span style=\"font-size:32px; background-color:rgb(0, 128, 128)\">a</span><font size=\"5\"><span style=\"background-color:rgb(0, 128, 128)\">[b]</span></font><span style=\"font-size:32px; background-color:rgb(0, 128, 128)\">c</span>"], 851 [true,true], 852 {}], 853 ["<span style=\"font-size:32px; background-color:rgb(0, 128, 128)\">ab[c]</span>", 854 [["styleWithCSS","false"],["fontSize","5"]], 855 ["<span style=\"font-size:32px; background-color:rgb(0, 128, 128)\">ab</span><span style=\"background-color:rgb(0, 128, 128)\"><font size=\"5\">[c]</font></span>", 856 "<span style=\"font-size:32px; background-color:rgb(0, 128, 128)\">ab</span><font size=\"5\"><span style=\"background-color:rgb(0, 128, 128)\">[c]</span></font>"], 857 [true,true], 858 {}], 859 ["<p><span style=\"font-size:32px; background-color:rgb(0, 128, 128)\">[abc</span></p><p><span style=\"font-size:64px; background-color:rgb(128, 128, 0)\">def]</span></p>", 860 [["styleWithCSS","false"],["fontSize","5"]], 861 ["<p><span style=\"background-color:rgb(0, 128, 128)\"><font size=\"5\">[abc</font></span></p><p><span style=\"background-color:rgb(128, 128, 0)\"><font size=\"5\">def]</font></span></p>", 862 "<p><font size=\"5\"><span style=\"background-color:rgb(0, 128, 128)\">[abc</span></font></p><p><font size=\"5\"><span style=\"background-color:rgb(128, 128, 0)\">def]</span></font></p>"], 863 [true,true], 864 {}], 865 866 // Should not change the style of the non-editable nodes so that only the 867 // visible and editable nodes are wrapped into the <font> elements. 868 ['{ <span contenteditable="false">A</span> ; <span contenteditable="false">B</span> ; <span contenteditable="false">C</span> }', 869 [["stylewithcss","false"],["fontsize","5"]], 870 ' <span contenteditable="false">A</span><font size="5"> ; </font><span contenteditable="false">B</span><font size="5"> ; </font><span contenteditable="false">C</span> ', 871 [true,true], 872 {}], 873 ]