Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / move-by-sentence-001.html
blobded48178ad56dd50eee975f941fd0a1e2ce74255
1 <html>
2 <head>
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
10 .cell {
11 padding: 12px;
12 font-size: 24px;
13 height: 48px;
15 </style>
16 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
18 <script>
20 function editingTest() {
21 moveSelectionForwardByLineCommand();
22 moveSelectionBackwardBySentenceCommand();
23 moveSelectionForwardByLineCommand();
24 moveSelectionBackwardBySentenceCommand();
25 moveSelectionForwardByLineCommand();
26 moveSelectionBackwardBySentenceCommand();
27 moveSelectionForwardByLineCommand();
28 moveSelectionBackwardBySentenceCommand();
29 moveSelectionForwardByLineCommand();
30 moveSelectionBackwardBySentenceCommand();
31 moveSelectionForwardByLineCommand();
32 moveSelectionBackwardBySentenceCommand();
33 moveSelectionForwardByLineCommand();
34 moveSelectionBackwardBySentenceCommand();
35 moveSelectionForwardByLineCommand();
36 moveSelectionBackwardBySentenceCommand();
39 </script>
41 <!-- Note that this tests the fix for this bug:
42 <rdar://problem/5174862> Crash resulting from DeprecatedString::insert()
43 -->
45 <title>Editing Test</title>
46 </head>
47 <body>
48 <div contenteditable id="test" class="editing">
49 &#149; <b>This is some linked text</b>
51 <script>
52 runEditingTest();
53 </script>
55 </body>
56 </html>