Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / self-painting-layers2.html
blob8b10b94a3754bbdd08f0bc0325625cc803d21df3
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Self painting layers</title>
6 <style type="text/css" media="screen">
8 .container {
9 overflow: hidden;
10 width: 300px;
11 border: 1px solid black;
14 </style>
15 <script type="text/javascript" charset="utf-8">
16 if (window.testRunner) {
17 testRunner.dumpAsText();
18 testRunner.waitUntilDone();
21 function testOnLoad()
23 window.setTimeout(function() {
24 if (window.testRunner)
25 testRunner.notifyDone();
26 }, 0);
29 window.addEventListener('load', function() {
30 var video = document.getElementById('video');
31 video.addEventListener('loadeddata', testOnLoad, false);
32 video.src = 'resources/video.' + (video.canPlayType('video/ogg') ? 'ogv' : 'mp4');
33 }, false);
34 </script>
35 </head>
36 <body>
38 <p>This test should not assert in debug builds.</p>
39 <div class="container">
40 <video id="video" width="300" height="200"></video>
41 </div>
43 </body>
44 </html>