Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / 5478250.html
blobe7c939c797c5cff078075af18d9b3e59c17d0369
1 <p>This tests that inherited block properties do not propigate to the editing style span.</p>
2 <div id="copy" contenteditable="true" style="margin: 0 0 0 50px; text-indent: -50px; font-weight: bold; text-align: center;">Some text that is bold.</div>
3 <div id="paste" contenteditable="true">Some text that is&nbsp;</div>
5 <script>
6 var copy = document.getElementById("copy");
7 window.getSelection().setBaseAndExtent(copy.firstChild, 18, copy, 1);
8 document.execCommand("Copy");
9 var paste = document.getElementById("paste");
10 window.getSelection().setBaseAndExtent(paste, 1, paste, 1);
11 document.execCommand("Paste");
12 document.execCommand("InsertText", false, "\nThis text should bold and left justified with \"Some text...\".");
13 </script>