Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / extend-by-word-001.html
blob90ff185c65c77c4941fa7baf327f12afe1f18992
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 for (i = 0; i < 4; i++)
22 moveSelectionForwardByCharacterCommand();
23 extendSelectionForwardByWordCommand();
26 </script>
28 <title>Editing Test</title>
29 </head>
30 <body>
31 <div contenteditable id="root" class="editing">
32 <div id="test">foo<span class="Apple-tab-span" style="white-space:pre"> </span>bar</div>
33 </div>
35 <!--
36 Specifically checks test case in bug:
37 <rdar://problem/3917929> REGRESSION (Mail): Command-left-arrow leaves insertion point too high after specific steps
38 -->
40 <script>
41 runEditingTest();
42 </script>
44 </body>
45 </html>