Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / first-letter-crash-document-disposal.html
blobc1d3272b6ad143f45ca9fac8af3f848697e847a6
1 <!DOCTYPE html>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 </script>
7 <style>
8 ul.menu li:first-letter { color: green; }
9 </style>
11 <p>Test passes if it does not CRASH with --run-layout-test.</p>
12 <div contenteditable>
13 <ul class="menu">
14 <li>Appetizers</li>
15 </ul>
16 </div>
18 <script>
19 print("TEST");
21 var iframe = document.createElement('iframe');
22 iframe.src = window.location;
23 document.body.appendChild(iframe);
25 if (window.parent !== window)
26 window.parent.document.querySelector('iframe').remove()
27 </script>