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

Side by Side Diff: LayoutTests/editing/pasteboard/paste-blockquote-2.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 <!DOCYTPE html>
2 <html>
3 <head>
4 <style>
5 blockquote {
6 color: blue;
7 border-left: 2px solid blue;
8 margin: 0px;
9 padding: 0 0 0 20px;
10 }
11 </style>
12 </head>
13 <body>
14 <div id="div" contenteditable="true">&nbsp;This should not be blockquoted.</div>
15 <script src="../../resources/dump-as-markup.js"></script>
16 <script>
17 Markup.description("This tests pasting a blockquote at the start of a paragraph. ");
18
19 var sel = window.getSelection();
20 var div = document.getElementById("div");
21
22 sel.setPosition(div, 0);
23 document.execCommand("InsertHTML", false, "<blockquote type='cite'>This should n ot be blockquoted.</blockquote>");
24
25 Markup.dump('div');
26
27 </script>
28 </body>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698