Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / move-selection-back-line.html
bloba8d5c10f9de56ce451aa1d2b91452f8083a0a8b8
1 <div contentEditable="true" style="font-family: monospace;">
2 <p>first line.. test test test test -<span id="target" style="background-color:green">[ ]</span> test test test<br/></p>
3 <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>
4 </div>
5 <div id="results">FAILED</div>
6 <script src="../editing.js"></script>
7 <script>
8 function editingTest()
10 execMoveSelectionBackwardByLineCommand();
12 // Verify that we ended up in "target".
13 if (window.getSelection().anchorNode.parentNode == document.getElementById("target"))
14 document.getElementById("results").innerText = "PASS";
16 runDumpAsTextEditingTest(false);
17 </script>