OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test for first-letter for nested elements</title> | 4 <title>Test for first-letter for nested elements</title> |
5 <style> | 5 <style> |
6 .test:first-letter { color: green; } | 6 .test:first-letter { color: green; } |
7 .boxed { border: solid 1px; } | 7 .boxed { border: solid 1px; } |
8 </style> | 8 </style> |
9 <script src="../js/resources/js-test-pre.js"></script> | 9 <script src="../js/resources/js-test-pre.js"></script> |
10 </head> | 10 </head> |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 document.getElementById('test_p_1').style.fontSize = '32px'; | 29 document.getElementById('test_p_1').style.fontSize = '32px'; |
30 document.getElementById('test_span_2').style.fontSize = '32px'; | 30 document.getElementById('test_span_2').style.fontSize = '32px'; |
31 | 31 |
32 document.body.offsetTop; | 32 document.body.offsetTop; |
33 | 33 |
34 description("The three spans below should look the same."); | 34 description("The three spans below should look the same."); |
35 shouldBe("document.getElementById('test_span_1').offsetWidth", "document.getElem
entById('ref_span').offsetWidth"); | 35 shouldBe("document.getElementById('test_span_1').offsetWidth", "document.getElem
entById('ref_span').offsetWidth"); |
36 shouldBe("document.getElementById('test_span_2').offsetWidth", "document.getElem
entById('ref_span').offsetWidth"); | 36 shouldBe("document.getElementById('test_span_2').offsetWidth", "document.getElem
entById('ref_span').offsetWidth"); |
37 </script> | 37 </script> |
38 <script src="../js/resources/js-test-post.js"></script> | |
39 </body> | 38 </body> |
40 </html> | 39 </html> |
OLD | NEW |