Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / 5046875-1.html
blob809123833c4376b63db9ce03f4d8692d1bf42d68
1 <p>This tests for a bug where centering two paragraphs would center the third. Only the selected paragraphs should be selected.</p>
2 <div id="div" contenteditable="true">foo<div>bar<br>baz</div>
4 <script>
5 if (window.internals)
6 internals.settings.setEditingBehavior('mac');
7 var div = document.getElementById("div");
8 var sel = window.getSelection();
10 sel.collapse(div, 0);
11 sel.modify("extend", "forward", "word");
12 sel.modify("extend", "forward", "paragraph");
14 document.execCommand("JustifyCenter");
15 </script>