Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / move-selection-back-line-strict.html
blob8f567dd29e4249e8b6fac312fbc6233845e16128
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div contentEditable="true" style="font-family: monospace;">
5 <p>first line.. test test test test -<span id="target" style="background-color:green">[ ]</span> test test test<br/></p>
6 <p>second line. Put your cursor here [<span id="test"> </span>] and press the up arrow. The cursor should appear in the green box on the first line</p>
7 </div>
8 <div id="results">FAILED</div>
9 <script src="../editing.js"></script>
10 <script>
11 function editingTest()
13 execMoveSelectionBackwardByLineCommand();
15 // Verify that we ended up in "target".
16 if (window.getSelection().anchorNode.parentNode == document.getElementById("target"))
17 document.getElementById("results").innerText = "PASS";
19 runDumpAsTextEditingTest(false);
20 </script>
21 </body>
22 </html>