Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / 4932260-1.html
blob47ce3970ed6cbd530b9795863e39c6d8b274f9f8
1 <p>This tests for a bug where images would act as sentence boundaries.</p>
2 <div id="div" contenteditable="true">The caret should be <img src="../resources/abe.png">at the beginning of this sentence.</div>
4 <script>
5 if (window.testRunner)
6 window.testRunner.dumpEditingCallbacks();
7 var sel = window.getSelection();
8 var div = document.getElementById("div");
9 sel.collapse(div, 0);
10 sel.modify("move", "forward", "sentence");
11 sel.collapse(div, div.childNodes.length);
12 sel.modify("move", "backward", "sentence");
13 </script>