Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / move-by-sentence-linebreak.html
blobc528a21b5be53b59f5f01b60beb8fdeaa6ffba72
1 <p>This tests for sentence boundary when there are empty line breaks between lines of text.<br>
2 The result insertion point should be at the end of the sentence "How are you?"
3 </p>
4 <div id="div" contenteditable="true">
5 hello
6 <div><br></div>
7 <div>world</div>
8 <div><br class="webkit-block-placeholder"></div>
9 <div><br class="webkit-block-placeholder"></div>
10 <div>This is a test. How are you? Life is sweet!</div>
11 </div>
13 <script>
14 var sel = window.getSelection();
15 sel.collapse(div, 0);
16 sel.modify("move", "forward", "sentence");
17 sel.modify("move", "forward", "sentence");
18 sel.modify("move", "forward", "sentence");
19 sel.modify("move", "forward", "sentence");
20 sel.modify("move", "forward", "sentence");
21 sel.modify("move", "forward", "sentence");
22 sel.modify("move", "forward", "sentence");
23 </script>