Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Side by Side Diff: LayoutTests/editing/pasteboard/4922709.html

Issue 13954003: Remove mail blockquote special case handling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <style>
2 blockquote {
3 border-left: 2px solid blue;
4 margin: 0;
5 padding-left: 10px;
6 color: blue;
7 }
8 </style>
9 <div id="description">This tests copying/pasting less than a paragraph of quoted content. It should appear quoted.</div>
10 <div id="edit" contenteditable="true">
11 <br>
12 <br>
13 <div>On Tuesday, Dave wrote:</div>
14 <div><br></div>
15 <blockquote id="blockquote" type="cite">Hello World</blockquote>
16 </div>
17
18 <script>
19 if (window.testRunner)
20 window.testRunner.dumpAsText();
21 blockquote = document.getElementById("blockquote");
22 text = blockquote.firstChild;
23 sel = window.getSelection();
24 sel.setBaseAndExtent(text, 0, text, text.length);
25 document.execCommand("Copy");
26 edit = document.getElementById("edit");
27 sel.setPosition(edit, 0);
28 document.execCommand("Paste");
29 if (window.testRunner)
30 document.body.innerText = document.getElementById("description").innerText + "\n\n" + document.getElementById("edit").innerHTML;
31 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698