OLD | NEW |
1 Test to make sure we push down inline styles properly. | 1 Test to make sure we push down inline styles properly. |
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 bold on first word of <b><div>hello</div> world</b> yields <div>hello</div>
<b> world</b> | 6 PASS bold on first word of <b><div>hello</div> world</b> yields <div>hello</div>
<b> world</b> |
7 PASS bold on first word of <b><div>hello</div>world</b> yields <div>hello</div><
b>world</b> | 7 PASS bold on first word of <b><div>hello</div>world</b> yields <div>hello</div><
b>world</b> |
8 PASS bold on first word of <b><div>hello</div><em>world</em></b> yields <div>hel
lo</div><em style="font-weight: bold;">world</em> | 8 PASS bold on first word of <b><div>hello</div><em>world</em></b> yields <div>hel
lo</div><em style="font-weight: bold;">world</em> |
9 PASS bold on second word of <b>hello <div>world</div></b> yields <b>hello </b><d
iv>world</div> | 9 PASS bold on second word of <b>hello <div>world</div></b> yields <b>hello </b><d
iv>world</div> |
10 PASS bold on second word of <b><em>hello</em> <div>world</div></b> yields <em st
yle="font-weight: bold;">hello</em> <div>world</div> | 10 PASS bold on second word of <b><em>hello</em> <div>world</div></b> yields <em st
yle="font-weight: bold;">hello</em> <div>world</div> |
11 PASS bold on all of <b> <div>text</div> </b> yields <div>text</div> | 11 PASS bold on all of <b> <div>text</div> </b> yields <div>text</div> |
12 PASS bold on all of <b><strike><div>text</div></strike></b> yields <strike><div>
text</div></strike> | 12 PASS bold on all of <b><strike><div>text</div></strike></b> yields <strike><div>
text</div></strike> |
13 PASS bold on first word of <b><div>hello</div><div>world</div></b> yields <div>h
ello</div><div style="font-weight: bold;">world</div> | 13 PASS bold on first word of <b><div>hello</div><div>world</div></b> yields <div>h
ello</div><div style="font-weight: bold;">world</div> |
14 PASS bold on first word of <b><div>hello</div><div style="font-weight: normal;">
world</div>webkit</b> yields <div>hello</div><div style="font-weight: normal;">w
orld</div><b>webkit</b> | 14 PASS bold on first word of <b><div>hello</div><div style="font-weight: normal;">
world</div>webkit</b> yields <div>hello</div><div style="font-weight: normal;">w
orld</div><b>webkit</b> |
15 PASS bold on second word of <b style="font-style: italic;">hello world</b> yield
s <b style="font-style: italic;">hello</b><span style="font-style: italic;"> wor
ld</span> | 15 PASS bold on second word of <b style="font-style: italic;">hello world</b> yield
s <b style="font-style: italic;">hello</b><span style="font-style: italic;"> wor
ld</span> |
16 PASS underline on second word of <u>hello <b>world</b> webkit</u> yields <u>hell
o</u> <b>world</b><u> webkit</u> | 16 PASS underline on second word of <u>hello <b>world</b> webkit</u> yields <u>hell
o</u> <b>world</b><u> webkit</u> |
17 PASS underline on last two words of <u>hello <b>world</b> webkit</u> yields <u>h
ello </u><b>world</b> webkit | 17 PASS underline on last two words of <u>hello <b>world</b> webkit</u> yields <u>h
ello </u><b>world</b> webkit |
18 PASS underline on last two words of <u>hello <b>world webkit</b></u> yields <u>h
ello </u><b>world webkit</b> | 18 PASS underline on last two words of <u>hello <b>world webkit</b></u> yields <u>h
ello </u><b>world webkit</b> |
19 PASS underline on second word of <u>hello <b>world webkit</b></u> yields <u>hell
o</u> <b>world<u> webkit</u></b> | 19 PASS underline on second word of <u>hello <b>world webkit</b></u> yields <u>hell
o</u> <b>world<u> webkit</u></b> |
20 PASS underline on second word of <u><b>hello world</b> webkit</u> yields <b><u>h
ello</u> world</b><u> webkit</u> | 20 PASS underline on second word of <u><b>hello world</b> webkit</u> yields <b><u>h
ello</u> world</b><u> webkit</u> |
21 PASS underline on second word of <u><strike>hello world</strike></u> yields <str
ike><u>hello</u> world</strike> | 21 PASS underline on second word of <u><strike>hello world</strike></u> yields <str
ike><u>hello</u> world</strike> |
22 PASS underline on second word of <u><strike>hello world webkit</strike></u> yiel
ds <strike><u>hello</u> world<u> webkit</u></strike> | 22 PASS underline on second word of <u><strike>hello world webkit</strike></u> yiel
ds <strike><u>hello</u> world<u> webkit</u></strike> |
23 PASS underline on second word of <u><strike>hello world</strike> webkit</u> yiel
ds <strike><u>hello</u> world</strike><u> webkit</u> | 23 PASS underline on second word of <u><strike>hello world</strike> webkit</u> yiel
ds <strike><u>hello</u> world</strike><u> webkit</u> |
24 PASS underline on second word of <u>hello <em><code>world webkit</code></em> roc
ks</u> yields <u>hello</u> <em><code>world<u> webkit</u></code></em><u> rocks</u
> | 24 PASS underline on second word of <u>hello <em><code>world webkit</code></em> roc
ks</u> yields <u>hello</u> <em><code>world<u> webkit</u></code></em><u> rocks</u
> |
25 PASS strikeThrough on all of <s style="color: blue;">hello world</strike> yields
<span style="color: blue;">hello world</span> | 25 PASS strikeThrough on all of <s style="color: blue;">hello world</strike> yields
<span style="color: blue;">hello world</span> |
26 PASS strikeThrough on first word of <s style="color: blue;"><div>hello</div> <b>
world</b> webkit</strike> yields <span style="color: blue;"><div>hello</div> <b
style="text-decoration: line-through;">world</b><strike> webkit</strike></span> | 26 PASS strikeThrough on first word of <s style="color: blue;"><div>hello</div> <b>
world</b> webkit</strike> yields <span style="color: blue;"><div>hello</div> <b
style="text-decoration-line: line-through;">world</b><strike> webkit</strike></s
pan> |
27 PASS successfullyParsed is true | 27 PASS successfullyParsed is true |
28 | 28 |
29 TEST COMPLETE | 29 TEST COMPLETE |
30 | 30 |
OLD | NEW |