summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fullscreen/notify-paint-crash.html
blob: 9275393efa00a2fa7946b5af45feae99323d716c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<script src="full-screen-test.js"></script>
<style>
.child { transform: translateZ(20px); }
</style>
<video></video>
<div class="child">Pass if there is no crash.</div>
<script>
var video = document.getElementsByTagName('video')[0];

document.onwebkitfullscreenchange = function(event) {
  testRunner.notifyDone();
};

runWithKeyDown(function(){ video.webkitRequestFullScreen() });
</script>