| 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="../../../resources/ahem.js"></script> |
| 5 <script src="../../../resources/js-test.js"></script> | 6 <script src="../../../resources/js-test.js"></script> |
| 6 <script src="resources/nodesFromRect.js"></script> | 7 <script src="resources/nodesFromRect.js"></script> |
| 7 <style> | 8 <style> |
| 8 #sandbox { | 9 #sandbox { |
| 9 position: absolute; | 10 position: absolute; |
| 10 left: 0px; | 11 left: 0px; |
| 11 top: 0px; | 12 top: 0px; |
| 12 width: 400px; | 13 width: 400px; |
| 13 height: 200px; | 14 height: 200px; |
| 14 } | 15 } |
| (...skipping 27 matching lines...) Expand all Loading... |
| 42 /* Rect based test over word2 and word3. */ | 43 /* Rect based test over word2 and word3. */ |
| 43 checkRect(170, 19, 40, 8, "'word3', SPAN#wordinline3, ' ', 'word2'
, SPAN#wordinline2, SPAN#culledinline, P"); | 44 checkRect(170, 19, 40, 8, "'word3', SPAN#wordinline3, ' ', 'word2'
, SPAN#wordinline2, SPAN#culledinline, P"); |
| 44 | 45 |
| 45 document.getElementById('sandbox').style.display = 'none'; | 46 document.getElementById('sandbox').style.display = 'none'; |
| 46 } | 47 } |
| 47 runTest(); | 48 runTest(); |
| 48 </script> | 49 </script> |
| 49 </body> | 50 </body> |
| 50 </html> | 51 </html> |
| 51 | 52 |
| OLD | NEW |