OLD | NEW |
1 <html> | 1 <html> |
2 <script src="../js/resources/js-test-pre.js"></script> | 2 <script src="../js/resources/js-test-pre.js"></script> |
3 <script> | 3 <script> |
4 description('Test for <a href="http://webkit.org/b/73520">WebKit bug 73520</
a>'); | 4 description('Test for <a href="http://webkit.org/b/73520">WebKit bug 73520</
a>'); |
5 window.jsTestIsAsync = true; | 5 window.jsTestIsAsync = true; |
6 function runTest() | 6 function runTest() |
7 { | 7 { |
8 testDiv = document.getElementById('test'); | 8 testDiv = document.getElementById('test'); |
9 shouldBeEqualToString('window.getComputedStyle(testDiv, 0).width', '48px
'); | 9 shouldBeEqualToString('window.getComputedStyle(testDiv, 0).width', '48px
'); |
10 finishJSTest(); | 10 finishJSTest(); |
(...skipping 15 matching lines...) Expand all Loading... |
26 font-family: ahem; | 26 font-family: ahem; |
27 } | 27 } |
28 </style> | 28 </style> |
29 </head> | 29 </head> |
30 <body onload="setTimeout('runTest()', 100)"> | 30 <body onload="setTimeout('runTest()', 100)"> |
31 <div id=test> | 31 <div id=test> |
32 <a href="#"> | 32 <a href="#"> |
33 <span>aaa</span> | 33 <span>aaa</span> |
34 </a> | 34 </a> |
35 </div> | 35 </div> |
36 <script src="../js/resources/js-test-post.js"></script> | |
37 </body> | 36 </body> |
38 </html> | 37 </html> |
OLD | NEW |