Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / indent-nested-blockquotes.html
blob12d7ff1d829d98559234640ba58328595d9c7e2b
1 <p>This tests indenting nested blockquotes. By indenting "webkit"""", we should be inserting a blockquote between br tag and the end of the inner blockquote.</p>
2 <div id="div" contenteditable="true">
3 <blockquote id="outer">
4 hello
5 <blockquote id="inner">
6 world<br>
7 webkit
8 </blockquote>
9 is great
10 </blockquote>
11 </div>
12 <div id="c"></div>
13 <script>
15 if (window.testRunner)
16 testRunner.dumpAsText();
18 var e = document.getElementById("inner");
19 var s = window.getSelection();
20 var r = document.createRange();
21 r.setStart(e,2);
22 r.setEnd(e,3);
23 s.addRange(r);
24 document.execCommand("Indent", false, null);
25 text = document.createTextNode(document.getElementById('div').innerHTML);
26 document.getElementById('c').appendChild( text );
27 </script>