Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Document / document-elementFromPoint-empty-document.html
blobc4a29252f7d8ece87b5ce023afd78992c7c8fa55
1 <html>
2 <script src="../../../resources/js-test.js"></script>
3 <script>
4 description("Document.elementFromPoint() against empty document shouldn't crash.");
5 window.jsTestIsAsync = true;
6 toBeRemoved = document.documentElement;
7 toBeRemoved.remove();
8 window.setTimeout(function() {
9 document.elementFromPoint(0, 0);
10 document.appendChild(toBeRemoved);
11 debug("PASS unless crash");
12 finishJSTest();
13 }, 0);
14 </script>
15 </html>