OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Document::nodesFromRect : culled inlines - bug 88376</title> | 4 <title>Document::nodesFromRect : culled inlines - bug 88376</title> |
5 <script src="../../js/resources/js-test-pre.js"></script> | 5 <script src="../../js/resources/js-test-pre.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; |
(...skipping 28 matching lines...) Expand all Loading... |
39 checkRect(70, 19, 20, 8, "' ', 'word1', SPAN#wordinline1, SPAN#cul
ledinline"); | 39 checkRect(70, 19, 20, 8, "' ', 'word1', SPAN#wordinline1, SPAN#cul
ledinline"); |
40 /* Rect based test over word1 and word2. */ | 40 /* Rect based test over word1 and word2. */ |
41 checkRect(70, 19, 40, 8, "'word2', SPAN#wordinline2, ' ', 'word1',
SPAN#wordinline1, SPAN#culledinline"); | 41 checkRect(70, 19, 40, 8, "'word2', SPAN#wordinline2, ' ', 'word1',
SPAN#wordinline1, SPAN#culledinline"); |
42 /* Rect based test over word2 and word3. */ | 42 /* Rect based test over word2 and word3. */ |
43 checkRect(170, 19, 40, 8, "'word3', SPAN#wordinline3, ' ', 'word2'
, SPAN#wordinline2, SPAN#culledinline, P"); | 43 checkRect(170, 19, 40, 8, "'word3', SPAN#wordinline3, ' ', 'word2'
, SPAN#wordinline2, SPAN#culledinline, P"); |
44 | 44 |
45 document.getElementById('sandbox').style.display = 'none'; | 45 document.getElementById('sandbox').style.display = 'none'; |
46 } | 46 } |
47 runTest(); | 47 runTest(); |
48 </script> | 48 </script> |
49 <script src="../../js/resources/js-test-post.js"></script> | |
50 </body> | 49 </body> |
51 </html> | 50 </html> |
52 | 51 |
OLD | NEW |