Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / 5006779.html
blobae966704010ead8ab8d9a9e9265eab8516e52fea
1 <style>
2 blockquote {
3 border-left: 2px solid blue;
4 margin: 0;
5 padding-left: 10px;
6 color: blue;
8 </style>
9 <p>This tests copying/pasting less than a paragraph of quoted content. It should not appear quoted.</p>
10 <div id="div" contenteditable="true">
11 <br>
12 <br>
13 <blockquote type="cite">On Tuesday, Dave wrote:</blockquote>
14 <blockquote type="cite"><br></blockquote>
15 <blockquote type="cite">Hello World.</blockquote>
16 </div>
18 <script>
19 if (window.internals)
20 internals.settings.setEditingBehavior('mac');
22 var sel = window.getSelection();
23 var div = document.getElementById("div");
24 sel.collapse(div, 0);
25 sel.modify("move", "forward", "paragraph");
26 sel.modify("move", "forward", "paragraph");
27 sel.modify("extend", "forward", "word");
28 document.execCommand("Copy");
29 sel.collapse(div, 0);
30 document.execCommand("PasteAndMatchStyle");
31 </script>