| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 body { | 5 body { |
| 6 font-size: 11px; | 6 font-size: 11px; |
| 7 font-family: 'lucida grande',tahoma,verdana,arial,sans-serif; | 7 font-family: 'lucida grande',tahoma,verdana,arial,sans-serif; |
| 8 line-height: 20px; | 8 line-height: 20px; |
| 9 } | 9 } |
| 10 td { | 10 td { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 <div id="console"></div> | 25 <div id="console"></div> |
| 26 <script> | 26 <script> |
| 27 description("This tests that we don't incorrectly wrap an auto-layout table due
to improper truncation of sub-pixel accumulation. See Bug 93911."); | 27 description("This tests that we don't incorrectly wrap an auto-layout table due
to improper truncation of sub-pixel accumulation. See Bug 93911."); |
| 28 | 28 |
| 29 var lineHeight = document.getElementById('testCell').style.lineHeight; | 29 var lineHeight = document.getElementById('testCell').style.lineHeight; |
| 30 shouldBe("document.getElementById('testCell').offsetHeight + 'px'", "getComputed
Style(document.getElementById('testCell')).lineHeight"); | 30 shouldBe("document.getElementById('testCell').offsetHeight + 'px'", "getComputed
Style(document.getElementById('testCell')).lineHeight"); |
| 31 | 31 |
| 32 if (window.testRunner) | 32 if (window.testRunner) |
| 33 document.getElementById("testTable").style.display = 'none'; | 33 document.getElementById("testTable").style.display = 'none'; |
| 34 </script> | 34 </script> |
| 35 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 36 </body> | 35 </body> |
| OLD | NEW |