Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / move-by-line-003.html
blob4876befb9310c601126c84ae263fc247590c4a1e
1 <html>
2 <head>
3 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
4 <script>
5 function test()
7 if (window.testRunner)
8 testRunner.dumpAsText();
10 var target = document.getElementById("target");
11 getSelection().setBaseAndExtent(target.firstChild, 0, target.frstChild, 0);
12 moveSelectionForwardByLineCommand();
14 document.getElementById("result").innerText = getSelection().baseOffset == 63 ? "PASS" : "FAIL";
16 </script>
17 </head>
18 <body onload="test()">
19 <p>
20 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=14972">http://bugs.webkit.org/show_bug.cgi?id=14972</a>
21 Moving cursor down in contentEditable section fails if styled line-height:1em</i>.
22 </p>
23 <p id="result">
24 Test did not run
25 </p>
26 <p contenteditable="true" id="target" style="white-space: pre-line; line-height: 1em;">Pressing the down arrow when the caret is on this line
27 should move it to this line.
28 </p>
29 </body>
30 </html>