Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fullscreen / full-screen-remove-ancestor-during-transition.html
blob735c5204d73bcb3cd90b9859d267045c7a4cd43f
1 <!DOCTYPE html>
2 <script src="../resources/js-test.js"></script>
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
9 function runWithKeyDown(fn)
11 document.addEventListener('keydown', function() { fn(); }, false);
12 if (window.testRunner) {
13 eventSender.keyDown('a');
17 function init() {
18 runWithKeyDown(goFullScreen);
21 function goFullScreen() {
22 var iframe = document.getElementById('block1');
23 var element = iframe.contentDocument.documentElement;
24 setTimeout(function () {
25 iframe.parentNode.removeChild(iframe);
26 gc();
27 setTimeout(function () {
28 if (window.testRunner) {
29 testRunner.notifyDone();
31 }, 0);
32 }, 0);
33 element.webkitRequestFullScreen();
34 shouldNotBe("document.webkitFullscreenElement", "null");
36 </script>
37 <body onload="init()">
38 <iframe allowfullscreen src="resources/inner.html" id="block1"></iframe>
39 PASS
40 </body>