OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <style> |
| 4 body { |
| 5 height: 2000px; |
| 6 } |
| 7 #plugin { |
| 8 position: absolute; |
| 9 top: 500px; |
| 10 width: 150px; |
| 11 height: 150px; |
| 12 } |
| 13 </style> |
| 14 </head> |
| 15 |
| 16 <body> |
| 17 <div id="pluginContainer"></div> |
| 18 <div>To pass, the line above should say: TestPlugin: canCreateWithoutRenderer</d
iv> |
| 19 <script> |
| 20 |
| 21 if (!window.testRunner) { |
| 22 document.write("This test does not work in manual mode."); |
| 23 } else { |
| 24 testRunner.dumpAsText(); |
| 25 |
| 26 var plugin = document.createElement("object"); |
| 27 plugin.setAttribute("width", 300); |
| 28 plugin.setAttribute("height", 200); |
| 29 plugin.setAttribute("type", |
| 30 "application/x-webkit-test-webplugin-can-create-without-renderer"); |
| 31 } |
| 32 |
| 33 </script> |
| 34 </body> |
| 35 </html> |
OLD | NEW |