OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Document::nodesFromRect : culled inline with line-break - bug 88376</
title> | 4 <title>Document::nodesFromRect : culled inline with line-break - bug 88376</
title> |
5 <script src="../../js/resources/js-test-pre.js"></script> | 5 <script src="../../../resources/js-test.js"></script> |
6 <script src="resources/nodesFromRect.js"></script> | 6 <script src="resources/nodesFromRect.js"></script> |
7 <style> | 7 <style> |
8 #sandbox { | 8 #sandbox { |
9 position: absolute; | 9 position: absolute; |
10 left: 0px; | 10 left: 0px; |
11 top: 0px; | 11 top: 0px; |
12 width: 220px; | 12 width: 220px; |
13 height: 200px; | 13 height: 200px; |
14 } | 14 } |
15 #sandbox p { font: 20px Ahem; } | 15 #sandbox p { font: 20px Ahem; } |
(...skipping 19 matching lines...) Expand all Loading... |
35 checkRect(20, 35, 10, 20, "'word2', SPAN#wordinline2, SPAN#culledinl
ine, P, 'Word '"); | 35 checkRect(20, 35, 10, 20, "'word2', SPAN#wordinline2, SPAN#culledinl
ine, P, 'Word '"); |
36 /* Note the order of P and 'Word ' is slightly unusual, but this is
due to lines being tested one by one. */ | 36 /* Note the order of P and 'Word ' is slightly unusual, but this is
due to lines being tested one by one. */ |
37 | 37 |
38 document.getElementById('sandbox').style.display = 'none'; | 38 document.getElementById('sandbox').style.display = 'none'; |
39 } | 39 } |
40 runTest(); | 40 runTest(); |
41 </script> | 41 </script> |
42 </body> | 42 </body> |
43 </html> | 43 </html> |
44 | 44 |
OLD | NEW |