Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / video-no-autoplay.html
blob38920ceaa662a47be7e17f57a495ca0135e3081e
1 <video controls></video>
2 <p>Test that play event does not fire when "src" set with no autoplay attribute.</p>
3 <script src=media-file.js></script>
4 <script src=video-test.js></script>
5 <script>
6 testExpected("video.paused", true);
8 waitForEvent('play', function () {
9 logResult(false, "PLAY fired");
10 endTest();
11 } );
13 function testPaused ()
15 testExpected("video.paused", true);
16 endTest();
18 waitForEvent('canplaythrough', function () { setTimeout(testPaused, 500);} );
20 video.src = findMediaFile("video", "content/test");
21 </script>