Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fullscreen / full-screen-remove-sibling.html
blob48d6d7a531ceef84630d2e406f1634221ff36d07
1 <body>
2 <script src="full-screen-test.js"></script>
3 <div id="one">
4 <div id="fullscreen"></div>
5 <div id="two"><span></span></div>
6 </div>
8 <script>
9 var callback;
10 waitForEvent(document, 'webkitfullscreenchange', function() {
11 var one = document.getElementById('one');
12 var two = document.getElementById('two');
13 one.removeChild(two);
14 endTest();
15 });
17 function goFullScreen() {
18 document.getElementById('fullscreen').webkitRequestFullScreen();
20 runWithKeyDown(goFullScreen);
21 </script>