OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head id="head_element"> | 3 <head id="head_element"> |
4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.js"></script> |
5 <style> | 5 <style> |
6 </style> | 6 </style> |
7 </head> | 7 </head> |
8 <body> | 8 <body> |
9 <p id="description"></p> | 9 <p id="description"></p> |
10 <div id="console"></div> | 10 <div id="console"></div> |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 debug("Test visibility: hidden"); | 185 debug("Test visibility: hidden"); |
186 appendStyle("@page {visibility:hidden}"); | 186 appendStyle("@page {visibility:hidden}"); |
187 shouldBe("internals.pageSizeAndMarginsInPixels(0, 100, 200, 1, 2, 3, 4)"
, "'(10000, 20000)' + pxMargins(800, 400, 200, 4)"); | 187 shouldBe("internals.pageSizeAndMarginsInPixels(0, 100, 200, 1, 2, 3, 4)"
, "'(10000, 20000)' + pxMargins(800, 400, 200, 4)"); |
188 | 188 |
189 debug(""); | 189 debug(""); |
190 | 190 |
191 } else { | 191 } else { |
192 testFailed("This test can be run only with window.testRunner"); | 192 testFailed("This test can be run only with window.testRunner"); |
193 } | 193 } |
194 </script> | 194 </script> |
195 <script src="../fast/js/resources/js-test-post.js"></script> | |
196 </body> | 195 </body> |
197 </html> | 196 </html> |
OLD | NEW |