Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fullscreen / model / remove-parent.html
blob540fae607106c1b2f6f0a436fbb1129c1f6bd653
1 <!DOCTYPE html>
2 <title>Remove the parent of the fullscreen element</title>
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5 <script src="../trusted-event.js"></script>
6 <div id="log"></div>
7 <div>
8 <div id="child"></div>
9 </div>
10 <script>
11 async_test(function(t)
13 var child = document.getElementById("child");
14 trusted_request(child);
15 document.onfullscreenchange = t.step_func(function()
17 assert_equals(document.fullscreenElement, child);
18 child.parentNode.remove();
19 document.onfullscreenchange = t.step_func(function()
21 assert_equals(document.fullscreenElement, null);
22 t.done();
23 });
24 });
25 });
26 </script>