Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / indent-nested-lists-4.html
blob273d57cfbc8461f3c961843639b1e524e8ecf801
1 <html>
2 <body>
3 <div>
4 This tests indenting "three" and "four". You should see 1 through 4 in order before numbers "two" through "five".
5 <ol id="e" contenteditable="true">
6 <li>one</li>
7 <ol><li>two</li></ol>
8 <li id="test1">three</li>
9 <li id="test2">four</li>
10 <ol><li>five</li></ol>
11 </ol>
12 </div>
14 <ul>
15 <li>Before:<span id="c1"></span></li>
16 <li>After:<span id="c2"></span></li>
17 </ul>
19 <script type="text/javascript">
21 if (window.testRunner) {
22 testRunner.dumpEditingCallbacks();
23 testRunner.dumpAsText();
26 var e = document.getElementById('e');
28 document.getElementById('c1').appendChild(document.createTextNode(e.innerHTML));
30 var s = window.getSelection();
31 var r = document.createRange();
32 r.setStart(document.getElementById('test1'),0);
33 r.setEnd(document.getElementById('test2'),1);
34 s.removeAllRanges();
35 s.addRange(r);
36 document.execCommand("Indent", false, "");
38 document.getElementById('c2').appendChild(document.createTextNode(e.innerHTML));
40 </script>