REGRESSION: ASSERTION FAILED: obj->isRenderInline() || obj == this, Bad cast in WebCo...
[WebKit-https.git] / LayoutTests / fullscreen / video-specified-size.html
1 <body>
2     <video id="video" width="300" controls></video>
3     <script src="full-screen-test.js"></script>
4     <script src=../media/media-file.js></script>
5     <script>
6         setSrcById("video", findMediaFile("video", "../media/content/test"));
7         var video = document.getElementById('video');
8         // Bail out early if the full screen API is not enabled or is missing:
9         if (Element.prototype.webkitRequestFullScreen == undefined) {
10             logResult(false, "Element.prototype.webkitRequestFullScreen == undefined");
11             endTest();
12         } else {
13             waitForEventTestAndEnd(document, 'webkitfullscreenchange', "video.clientWidth==document.body.clientWidth");
14             runWithKeyDown(function(){video.webkitRequestFullScreen()});
15         }
16     </script>
17 </body>