| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../../../../resources/run-after-layout-and-paint.js"></script> | |
| 3 <script> | 2 <script> |
| 4 if (window.testRunner) | 3 if (window.testRunner) |
| 5 testRunner.waitUntilDone(); | 4 testRunner.waitUntilDone(); |
| 6 | 5 |
| 7 function frameLoaded() | 6 function frameLoaded() |
| 8 { | 7 { |
| 9 if (window.testRunner) | 8 if (window.testRunner) |
| 10 testRunner.notifyDone(); | 9 testRunner.notifyDone(); |
| 11 } | 10 } |
| 12 </script> | 11 </script> |
| 13 <p> | 12 <p> |
| 14 This tests that in a standalone media document with audio content, a downloa
d button is positioned below the | 13 This tests that in a standalone media document with audio content, a downloa
d button is positioned below the |
| 15 media element. | 14 media element. |
| 16 </p> | 15 </p> |
| 17 <iframe src="resources/standalone-audio.html" id="fr" width=380 height=330 onloa
d="frameLoaded()"></iframe> | 16 <iframe src="resources/standalone-audio.html" id="fr" width=380 height=330 onloa
d="frameLoaded()"></iframe> |
| 17 <div style="position: absolute; left: 80px; top: 180px; width: 160px; height: 50
px; background-color: yellow"> |
| 18 Timer and slider masked out to avoid flakiness |
| 19 </div> |
| OLD | NEW |