| <p>This tests that a dominant plugin should play automatically if an image is mostly on top of the plugin.</p> |
| <div id="result">FAIL</div> |
| internals.settings.setPlugInSnapshottingEnabled(true); |
| internals.settings.setMaximumPlugInSnapshotAttempts(0); |
| testRunner.waitUntilDone(); |
| var result = document.getElementById("result"); |
| var embed = document.getElementById("plugin"); |
| if (!internals.isPluginSnapshotted(embed)) |
| result.innerHTML = "PASS"; |
| <embed id="plugin" src="../resources/orange.mov" width="600" height="600"></embed> |
| <img src="../resources/apple.gif" width="600" height="600" style="position:absolute; top:45px; left:0px;"> |