Chromium Code Reviews| 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; |
|
foolip
2016/07/06 13:19:43
This change seems to mask an actual regression in
dsinclair
2016/07/06 13:32:31
This is the expected file, so this is what the cl
foolip
2016/07/06 14:14:51
Right, but what I noticed when trying to simplify
dsinclair
2016/07/06 14:17:38
It wasn't deliberate. It sounds like there is an i
foolip
2016/07/06 15:20:27
I have a hard time deciding what would make most s
|
| +} |
| +</style> |
| +<body onload="init()"> |
| + <video id='video'></video> |
| +</body> |