Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / 25322-3.html
blob86ac93a177cc1060f247be538e826cbe32535bc6
1 <head>
2 <script>
3 function runTest() {
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
8 window.setTimeout(afterDelay, 20);
11 function afterDelay() {
12 forCaret = document.getElementById("forCaret");
13 window.getSelection().collapse(forCaret, 0);
14 document.execCommand("Delete");
15 if (window.testRunner) {
16 document.body.innerText = document.getElementById("description").innerText + "\n\n" + document.getElementById("edit").innerHTML;
17 testRunner.notifyDone();
20 </script>
21 </head>
23 <body onLoad="runTest();">
24 <div id="description">This tests to make sure that placing the caret at the beginning of a paragraph of text just after a block image and pressing delete does not move the text. It cannot be made inline with the image since it's a block image. The editable region below should contain an image followed by a paragraph of text.</div>
25 <div id="edit" contentEditable="true"><img src="../resources/abe.png" style="display:block; padding: 3px;"><div id="forCaret">This text should be in its own paragraph.</div></div>
26 </body>