Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / loading / preload-video-poster.html
blob2ad53ff6b7a23cc05d197574ce29fca42a6e3b75
1 <html>
2 <head>
3 <script src="/js-test-resources/js-test.js"></script>
4 <script src="http://127.0.0.1:8000/resources/slow-script.pl?delay=100"></script>
5 </head>
6 <body>
7 <script>
8 shouldBeTrue("internals.isPreloaded('resources/base-image1.png');");
9 shouldBeTrue("internals.isPreloaded('resources/base-image2.png');");
10 shouldBeFalse("internals.isPreloaded('resources/base-image3.png');");
11 </script>
12 <div>This test passes if the image (defined in the src attribute) is preloaded.</div>
13 <video poster="resources/base-image1.png"></video>
14 <video poster="resources/base-image2.png" poster="resources/base-image3.png"></video>
15 </body>
16 </html>