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

Side by Side Diff: LayoutTests/editing/pasteboard/paste-blockquote-into-blockquote-3.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 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/dump-as-markup.js"></script>
5 <style>
6 blockquote {
7 color: blue;
8 border-left: 2px solid blue;
9 margin: 0px;
10 padding: 0 0 0 20px;
11 }
12 </style>
13 </head>
14 <body contenteditable>
15 <div>
16 <p>This tests pasting a blockquote into a blockquote. Nothing below should be do uble-blockquoted.</p>
17 <div>
18 <blockquote type="cite">one<br>two<br>three<br id="endContent"><br><br>< /blockquote>
19 </div>
20 <br>
21 </div>
22 <script>
23
24 var sel = window.getSelection();
25 var endContent = document.getElementById("endContent");
26 sel.setPosition(endContent, 1);
27 document.execCommand("InsertHTML", false, "<blockquote type='cite'><div>two</div ></blockquote>");
28
29 Markup.description(document.getElementsByTagName('p')[0].innerText);
30 Markup.dump(document.getElementsByTagName('div')[1]);
31
32 </script>
33 </body>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698