Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / align-in-span.html
blob9b55dcfefa3fa863b7bc9bc97e838222e6d001d2
1 <html>
2 <head>
3 <script type="text/javascript">
5 function selectAndJustify()
7 if (window.testRunner)
8 testRunner.dumpAsText();
10 var elem = document.getElementById("test");
11 var selection = window.getSelection();
12 selection.setBaseAndExtent(elem, 2, elem, 6);
13 document.execCommand('JustifyCenter', false, null);
16 </script>
17 </head>
19 <body>
20 <span id="test" contenteditable="true" >
21 Line 1.
22 <br>
23 <b>Select all text in this line and use justify command.</b>
24 <br>
25 Line 3.
26 </span>
27 </body>
28 <script>
29 selectAndJustify();
30 </script>
31 </html>