Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / paste-sanitize-crash-1.html
blob8eabff2e5e3fc0e0cff3448ec44b475188ba6c62
1 <html>
2 <head<></head>
3 <script>
4 function runTest()
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 var elem = document.getElementById("test");
11 x = elem.offsetLeft + elem.offsetWidth / 2;
12 y = elem.offsetTop + elem.offsetHeight / 2;
14 eventSender.mouseMoveTo(x, y);
15 eventSender.mouseDown();
16 eventSender.mouseUp();
17 eventSender.mouseDown();
18 eventSender.mouseUp();
19 eventSender.mouseDown();
20 eventSender.mouseUp();
21 document.execCommand("copy");
22 eventSender.keyDown("downArrow");
23 eventSender.keyDown("downArrow");
24 eventSender.keyDown("downArrow");
25 document.execCommand("paste");
27 </script>
28 <body onload="runTest()" contenteditable="true" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
29 <div>one &nbsp;</div>
30 <div id="test">two &nbsp;</div>three &nbsp;
31 <div>four &nbsp;</div>
32 <div><br></div>
33 </body>
34 </html>