Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 5770834-1.html
blobd947f69ec3ae0d4b813c84915b1aeac7899e3cd5
1 <div id="description">This tests for a crash when removing format from two paragraphs that are inside blocks with different block properties than the blocks surrounding them. You should see two left aligned paragraphs below. <b>It demonstrates a bug: <a href="rdar://problem/5794382">RemoveFormat doesn't always reset text alignment</a></b></div>
2 <div contentEditable="true" id="edit">
3 <div style="text-align: right;">
4 <div style="text-align: left;">foo<br>bar</div>
5 </div>
6 </div>
8 <script>
9 description = document.getElementById("description");
10 edit = document.getElementById("edit");
11 edit.focus();
12 document.execCommand("SelectAll");
13 document.execCommand("RemoveFormat");
14 if (window.testRunner) {
15 window.testRunner.dumpAsText();
16 document.body.innerText = description.innerText + "\n\n" + edit.innerHTML;
18 </script>