Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / indent-nested-lists-6.html
bloba107f3f951ec51654e385b7e196acbdaf8affc5c
1 <html>
2 <body>
3 <div>
4 This tests indenting "three". You should see a bullet then 1 and 2 before numbers "two", "three", and "four" respectively.
5 <ol id="e" contenteditable="true">
6 <li>one</li>
7 <ul><li>two</li></ul>
8 <li id="test">three</li>
9 <ol><li>four</li></ol>
10 </ol>
11 </div>
13 <ul>
14 <li>Before:<span id="c1"></span></li>
15 <li>After:<span id="c2"></span></li>
16 </ul>
18 <script type="text/javascript">
20 if (window.testRunner) {
21 testRunner.dumpEditingCallbacks();
22 testRunner.dumpAsText();
25 var e = document.getElementById('e');
27 document.getElementById('c1').appendChild(document.createTextNode(e.innerHTML));
29 var s = window.getSelection();
30 var r = document.createRange();
31 r.selectNode(document.getElementById('test'));
32 s.removeAllRanges();
33 s.addRange(r);
34 document.execCommand("Indent", false, "");
36 document.getElementById('c2').appendChild(document.createTextNode(e.innerHTML));
38 </script>