OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 | 5 |
6 #tests p { | 6 #tests p { |
7 font-size: 20px; | 7 font-size: 20px; |
8 width: 12ex; | 8 width: 12ex; |
9 word-wrap: normal; | 9 word-wrap: normal; |
10 } | 10 } |
11 | 11 |
12 </style> | 12 </style> |
13 <script src="../../fast/js/resources/js-test-pre.js"></script> | 13 <script src="../../resources/js-test.js"></script> |
14 </head> | 14 </head> |
15 <body> | 15 <body> |
16 <p>This test ensures WebKit takes paddings and borders into account when moving
vertically.</p> | 16 <p>This test ensures WebKit takes paddings and borders into account when moving
vertically.</p> |
17 <ol id="tests"> | 17 <ol id="tests"> |
18 <li><p contenteditable>left1 <a href="">right1 left2</a> right2</p></li> | 18 <li><p contenteditable>left1 <a href="">right1 left2</a> right2</p></li> |
19 <li><p contenteditable>left1 <a style="border: solid 5px blue;" href="">right1 l
eft2</a> right2</p></li> | 19 <li><p contenteditable>left1 <a style="border: solid 5px blue;" href="">right1 l
eft2</a> right2</p></li> |
20 <li><p contenteditable>left1 <a style="padding: 5px;" href="">right1 left2</a> r
ight2</p></li> | 20 <li><p contenteditable>left1 <a style="padding: 5px;" href="">right1 left2</a> r
ight2</p></li> |
21 <li><p contenteditable>left1 <a style="padding: 5px;" href="">right1 left2 right
2 left3</a> right3</p></li> | 21 <li><p contenteditable>left1 <a style="padding: 5px;" href="">right1 left2 right
2 left3</a> right3</p></li> |
22 </ol> | 22 </ol> |
23 <div id="console"></div> | 23 <div id="console"></div> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 } | 63 } |
64 | 64 |
65 debug(''); | 65 debug(''); |
66 } | 66 } |
67 | 67 |
68 document.getElementById('tests').style.display = 'none'; | 68 document.getElementById('tests').style.display = 'none'; |
69 | 69 |
70 </script> | 70 </script> |
71 </body> | 71 </body> |
72 </html> | 72 </html> |
OLD | NEW |