OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test for first-letter that is removed or added by style change</title> | 4 <title>Test for first-letter that is removed or added by style change</title> |
5 <style> | 5 <style> |
6 .test:first-letter { color: green; font-size:64px; float:inherit; } | 6 .test:first-letter { color: green; font-size:64px; float:inherit; } |
7 .test { clear:both; } | 7 .test { clear:both; } |
8 .boxed { border: solid 1px; } | 8 .boxed { border: solid 1px; } |
9 .bef:before { content:"Before "; } | 9 .bef:before { content:"Before "; } |
10 </style> | 10 </style> |
(...skipping 10 matching lines...) Expand all Loading... |
21 Test 2:<br/> | 21 Test 2:<br/> |
22 <span class="test boxed" id="test2">Inline to Block</span> | 22 <span class="test boxed" id="test2">Inline to Block</span> |
23 <span class="test boxed" id="ref2" style="display:block">Inline to Block</span> | 23 <span class="test boxed" id="ref2" style="display:block">Inline to Block</span> |
24 <hr/> | 24 <hr/> |
25 | 25 |
26 Test 3:<br/> | 26 Test 3:<br/> |
27 <div class="test"><span id="test3" class="boxed bef">pseudo</span></div> | 27 <div class="test"><span id="test3" class="boxed bef">pseudo</span></div> |
28 <div class="test"><span id="ref3" class="boxed">pseudo</span></div> | 28 <div class="test"><span id="ref3" class="boxed">pseudo</span></div> |
29 <hr/> | 29 <hr/> |
30 | 30 |
31 Test 4: (Currently failing)<br/> | 31 Test 4:<br/> |
32 <div class="test"><span id="test4" class="boxed">pseudo</span></div> | 32 <div class="test"><span id="test4" class="boxed">pseudo</span></div> |
33 <div class="test"><span id="ref4" class="boxed bef">pseudo</span></div> | 33 <div class="test"><span id="ref4" class="boxed bef">pseudo</span></div> |
34 <hr/> | 34 <hr/> |
35 | 35 |
36 Test 5:<br/> | 36 Test 5:<br/> |
37 <div class="test"><span id="test5" class="boxed" style="float:none">To Float</sp
an></div> | 37 <div class="test"><span id="test5" class="boxed" style="float:none">To Float</sp
an></div> |
38 <div class="test"><span id="ref5" class="boxed" style="float:left">To Float</spa
n></div> | 38 <div class="test"><span id="ref5" class="boxed" style="float:left">To Float</spa
n></div> |
39 <br/> | 39 <br/> |
40 <hr/> | 40 <hr/> |
41 | 41 |
42 Test 6:<br/> | 42 Test 6:<br/> |
43 <div class="test"><span id="test6" class="boxed" style="float:left">To Non Float
</span></div> | 43 <div class="test"><span id="test6" class="boxed" style="float:left">To Non Float
</span></div> |
44 <div class="test"><span id="ref6" class="boxed" style="float:none">To Non Float<
/span></div> | 44 <div class="test"><span id="ref6" class="boxed" style="float:none">To Non Float<
/span></div> |
45 <hr/> | 45 <hr/> |
46 | 46 |
47 Test 7: (Currently failing)<br/> | 47 Test 7:<br/> |
48 <div class="test"><div id="test7" class="boxed" style="float:none">To Float</div
></div> | 48 <div class="test"><div id="test7" class="boxed" style="float:none">To Float</div
></div> |
49 <div class="test"><div id="ref7" class="boxed" style="float:left">To Float</div>
</div> | 49 <div class="test"><div id="ref7" class="boxed" style="float:left">To Float</div>
</div> |
50 <br/> | 50 <br/> |
51 <hr/> | 51 <hr/> |
52 | 52 |
53 Test 8:<br/> | 53 Test 8:<br/> |
54 <div class="test"><div id="test8" class="boxed" style="float:left">To Non Float<
/div></div> | 54 <div class="test"><div id="test8" class="boxed" style="float:left">To Non Float<
/div></div> |
55 <div class="test"><div id="ref8" class="boxed" style="float:none">To Non Float</
div></div> | 55 <div class="test"><div id="ref8" class="boxed" style="float:none">To Non Float</
div></div> |
56 <hr/> | 56 <hr/> |
57 | 57 |
(...skipping 17 matching lines...) Expand all Loading... |
75 shouldBeTrue("document.getElementById('test2').offsetHeight == document.getEleme
ntById('ref2').offsetHeight"); | 75 shouldBeTrue("document.getElementById('test2').offsetHeight == document.getEleme
ntById('ref2').offsetHeight"); |
76 shouldBeTrue("document.getElementById('test3').offsetWidth == document.getElemen
tById('ref3').offsetWidth"); | 76 shouldBeTrue("document.getElementById('test3').offsetWidth == document.getElemen
tById('ref3').offsetWidth"); |
77 shouldBeTrue("document.getElementById('test4').offsetWidth == document.getElemen
tById('ref4').offsetWidth"); | 77 shouldBeTrue("document.getElementById('test4').offsetWidth == document.getElemen
tById('ref4').offsetWidth"); |
78 shouldBeTrue("document.getElementById('test5').offsetWidth == document.getElemen
tById('ref5').offsetWidth"); | 78 shouldBeTrue("document.getElementById('test5').offsetWidth == document.getElemen
tById('ref5').offsetWidth"); |
79 shouldBeTrue("document.getElementById('test6').offsetWidth == document.getElemen
tById('ref6').offsetWidth"); | 79 shouldBeTrue("document.getElementById('test6').offsetWidth == document.getElemen
tById('ref6').offsetWidth"); |
80 shouldBeTrue("document.getElementById('test7').offsetWidth == document.getElemen
tById('ref7').offsetWidth"); | 80 shouldBeTrue("document.getElementById('test7').offsetWidth == document.getElemen
tById('ref7').offsetWidth"); |
81 shouldBeTrue("document.getElementById('test8').offsetWidth == document.getElemen
tById('ref8').offsetWidth"); | 81 shouldBeTrue("document.getElementById('test8').offsetWidth == document.getElemen
tById('ref8').offsetWidth"); |
82 </script> | 82 </script> |
83 </body> | 83 </body> |
84 </html> | 84 </html> |
OLD | NEW |