OLD | NEW |
1 Test to make sure WebKit adds just one element when applying inline style and re
moves redundant styled elements. | 1 Test to make sure WebKit adds just one element when applying inline style and re
moves redundant styled elements. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS fontSize(4) on all of "hello <font size="4">world</font> WebKit" yields "<f
ont size="4">hello world WebKit</font>" | 6 PASS fontSize(4) on all of "hello <font size="4">world</font> WebKit" yields "<f
ont class="Apple-style-span" size="4">hello world WebKit</font>" |
7 PASS fontName(Arial) on all of "hello <b><font face="Arial">world</font></b> Web
Kit" yields "<font face="Arial">hello <b>world</b> WebKit</font>" | 7 PASS fontName(Arial) on all of "hello <b><font face="Arial">world</font></b> Web
Kit" yields "<font class="Apple-style-span" face="Arial">hello <b>world</b> WebK
it</font>" |
8 PASS italic(null) on all of "hello <u><i title="message">world </i><i>WebKit</i>
</u>" yields "<i>hello <u><span title="message">world </span>WebKit</u></i>" | 8 PASS italic(null) on all of "hello <u><i title="message">world </i><i>WebKit</i>
</u>" yields "<i>hello <u><span title="message">world </span>WebKit</u></i>" |
9 PASS bold(null) on all of "hello <i><b>world</b> WebKit</i>" yields "<b>hello <i
>world WebKit</i></b>" | 9 PASS bold(null) on all of "hello <i><b>world</b> WebKit</i>" yields "<b>hello <i
>world WebKit</i></b>" |
10 PASS bold(null) on all of "hello <i><b class="test">world</b> WebKit</i>" yields
"<b>hello <i><span class="test">world</span> WebKit</i></b>" | 10 PASS bold(null) on all of "hello <i><b class="test">world</b> WebKit</i>" yields
"<b>hello <i><span class="test">world</span> WebKit</i></b>" |
11 PASS bold(null) on all of "hello <b contenteditable="false">world</b> <b>WebKit
</b><u><b>rocks</b></u>" yields "<b>hello </b><b contenteditable="false">world</
b><b> WebKit <u>rocks</u></b>" | 11 PASS bold(null) on all of "hello <b contenteditable="false">world</b> <b>WebKit
</b><u><b>rocks</b></u>" yields "<b>hello </b><b contenteditable="false">world</
b><b> WebKit <u>rocks</u></b>" |
12 PASS strikeThrough(null) on all of "hello <b>world <strike>WebKit</strike></b>"
yields "<strike>hello <b>world WebKit</b></strike>" | 12 PASS strikeThrough(null) on all of "hello <b>world <strike>WebKit</strike></b>"
yields "<strike>hello <b>world WebKit</b></strike>" |
13 PASS strikeThrough(null) on all of "hello <i><strike>world</strike></i><b><strik
e>WebKit</strike></b> rocks" yields "<strike>hello <i>world</i><b>WebKit</b> roc
ks</strike>" | 13 PASS strikeThrough(null) on all of "hello <i><strike>world</strike></i><b><strik
e>WebKit</strike></b> rocks" yields "<strike>hello <i>world</i><b>WebKit</b> roc
ks</strike>" |
14 PASS strikeThrough(null) on all of "hello <i><strike>world</strike></i> WebKit <
b><strike>rocks</strike></b>" yields "<strike>hello <i>world</i> WebKit <b>rocks
</b></strike>" | 14 PASS strikeThrough(null) on all of "hello <i><strike>world</strike></i> WebKit <
b><strike>rocks</strike></b>" yields "<strike>hello <i>world</i> WebKit <b>rocks
</b></strike>" |
15 PASS bold(null) on all of "hello<div><i>world</i> <b>WebKit</b></div><div>rocks<
/div>" yields "<b>hello</b><div><b><i>world</i> WebKit</b></div><div><b>rocks</b
></div>" | 15 PASS bold(null) on all of "hello<div><i>world</i> <b>WebKit</b></div><div>rocks<
/div>" yields "<b>hello</b><div><b><i>world</i> WebKit</b></div><div><b>rocks</b
></div>" |
16 PASS bold(null) on all of "hello<br style="display: block;"><i><b>world</b></i><
br><b>WebKit</b>" yields "<b>hello<br style="display: block;"><i>world</i><br>We
bKit</b>" | 16 PASS bold(null) on all of "hello<br style="display: block;"><i><b>world</b></i><
br><b>WebKit</b>" yields "<b>hello<br style="display: block;"><i>world</i><br>We
bKit</b>" |
17 PASS bold(null) on all of "hello<p><b>world</b> <i><b>W</b>ebKit</i></p><b>rocks
</b>" yields "<b>hello</b><p><b>world <i>WebKit</i></b></p><b>rocks</b>" | 17 PASS bold(null) on all of "hello<p><b>world</b> <i><b>W</b>ebKit</i></p><b>rocks
</b>" yields "<b>hello</b><p><b>world <i>WebKit</i></b></p><b>rocks</b>" |
18 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
19 | 19 |
20 TEST COMPLETE | 20 TEST COMPLETE |
21 | 21 |
OLD | NEW |