Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / copy-without-common-block-crash.html
blob44a53db70cf329d0c7dac2b8783e1952b23abc25
1 <html>
2 <body>
3 <p>This tests crash when copying a text without a common ancestor block. To manually test, copy "hello" below and WebKit should not crash. On DRT, you should see PASS below.</p>
4 <span id="test" contenteditable>hello</span>
5 <script type="text/javascript">
7 if (window.testRunner)
8 window.testRunner.dumpAsText();
10 var test = document.getElementById('test');
11 document.getSelection().selectAllChildren(test);
12 document.execCommand('copy');
14 test.innerHTML = 'PASS';
16 </script>
17 </body>
18 </html>