OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../resources/js-test.js"></script> |
| 3 <p>Test that a table row inside a TABLE that's displayed as inline |
| 4 gets wrapped inside an anonymous inline-table.</p> |
| 5 <span id="first">This</span> text |
| 6 <table style="display:inline; border-spacing:0;"> |
| 7 <tr> |
| 8 <td style="vertical-align:baseline; padding:0;">should be</td> |
| 9 </tr> |
| 10 </table> |
| 11 on one <span id="last">line.</span> |
| 12 <div id="console"></div> |
| 13 <script> |
| 14 var firstTop = document.getElementById('first').getClientRects()[0].top; |
| 15 var lastTop = document.getElementById('last').getClientRects()[0].top; |
| 16 shouldBe("firstTop", "lastTop"); |
| 17 </script> |
OLD | NEW |