OLD | NEW |
---|---|
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>Test HTML Page</title> | 3 <title>Test HTML Page</title> |
4 <script src="../../resources/run-after-display.js"></script> | |
4 <script> | 5 <script> |
5 function test() | 6 function test() |
6 { | 7 { |
7 if (window.testRunner) { | 8 if (window.testRunner) { |
8 testRunner.dumpAsText(); | 9 testRunner.dumpAsText(); |
9 document.body.offsetTop; | 10 testRunner.waitUntilDone(); |
10 testRunner.display(); | 11 runAfterDisplay(function() { |
jamesr
2014/02/27 21:41:05
nit: probably don't need the extra closure, "runAf
enne (OOO)
2014/02/27 22:50:16
You'd think that (and I did too), but the test tim
jamesr
2014/02/27 23:56:07
Hmm, maybe because testRunner is implemented with
enne (OOO)
2014/02/28 00:57:48
Yeah, I think that's my conclusion too. I changed
| |
12 testRunner.notifyDone(); | |
13 }); | |
11 } | 14 } |
12 } | 15 } |
13 </script> | 16 </script> |
14 <style type="text/css"> | 17 <style type="text/css"> |
15 p { text-shadow: purple 0px 0px 38005685px; } | 18 p { text-shadow: purple 0px 0px 38005685px; } |
16 </style> | 19 </style> |
17 </head> | 20 </head> |
18 <body onload="test()"> | 21 <body onload="test()"> |
19 <p>Extreme text-shadow blur values should not crash.</p> | 22 <p>Extreme text-shadow blur values should not crash.</p> |
20 </body> | 23 </body> |
21 </html> | 24 </html> |
OLD | NEW |