| Index: third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context-expected.html
|
| diff --git a/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context-expected.html b/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context-expected.html
|
| index 98a5e31ad17a27b3e3fa01c0c8979a3b2376a036..203a33daa8e5bc956db6d471afbf0a1d253eee17 100644
|
| --- a/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context-expected.html
|
| +++ b/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context-expected.html
|
| @@ -1,12 +1,20 @@
|
| <!DOCTYPE html>
|
| -<video></video>
|
| <script>
|
| - var runPixelTests = true;
|
| +var runPixelTests = true;
|
| +
|
| +function init() {
|
| + waitForEventAndEnd(document, 'webkitfullscreenchange');
|
| + runWithKeyDown(function() {
|
| + document.getElementById('video').webkitRequestFullScreen();
|
| + });
|
| +}
|
| </script>
|
| <script src="full-screen-test.js"></script>
|
| -<script>
|
| - document.onwebkitfullscreenchange = endTest;
|
| - runWithKeyDown(function() {
|
| - document.querySelector("video").webkitRequestFullScreen();
|
| - });
|
| -</script>
|
| +<style>
|
| +#video {
|
| + background-color: black;
|
| +}
|
| +</style>
|
| +<body onload="init()">
|
| + <video id='video'></video>
|
| +</body>
|
|
|