Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / indent-selection.html
blob20b016a15b0614a5487accf642c4f388670a34ce
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <div id="description">
6 This test uses the execCommand to indent the text below.
7 </div>
8 <br>
9 <div contenteditable="true">
10 <span id="item1">Lorem</span><br>
11 more Lorem!
12 <blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px;">
13 ipsum<br>
15 <ul>
16 <li>Foo</li>
17 <li>Bar</li>
18 <li>Baz</li>
19 </ul>
20 Dolor
21 </blockquote>
22 Sum!<br>
23 <span id="item2">Thing</span>
24 </div>
25 <script>
26 var s = window.getSelection();
27 var p1 = document.getElementById("item1");
28 var p2 = document.getElementById("item2");
29 s.collapse(p1, 0);
30 s.setBaseAndExtent(p1, 0, p2, 2);
31 document.execCommand("Indent", false, "");
32 </script>