Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fullscreen / full-screen-contentEditable-crash.html
blob7c6df542bcf9e5794f46ddffa89ff92742c95908
1 <!DOCTYPE html>
2 Pass if there is no crash.
3 <div></div>
4 <span></span>
5 Click anywhere to test manually.
6 <script>
7 if (window.testRunner) {
8 testRunner.dumpAsText();
9 testRunner.waitUntilDone();
12 function requestFullscreen()
14 document.querySelector("span").webkitRequestFullScreen();
17 document.addEventListener("webkitfullscreenchange", function()
19 document.body.contentEditable = "true";
20 var range = document.createRange();
21 range.selectNode(document.body);
22 document.getSelection().addRange(range);
23 document.execCommand("hiliteColor", false, "#000");
24 if (window.testRunner) {
25 testRunner.notifyDone();
27 });
29 document.addEventListener("click", requestFullscreen);
31 if (window.eventSender) {
32 eventSender.mouseDown();
33 eventSender.mouseUp();
35 </script>