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

Side by Side Diff: LayoutTests/editing/pasteboard/paste-into-blockquote-with-document-font-color.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 <html>
2 <head>
3 <style>
4 blockquote {
5 color: blue;
6 border-left: 2px solid blue;
7 margin-left: 0px;
8 padding-left: 10px;
9 }
10 </style>
11 </head>
12 <body>
13 <div id="description">This tests to make sure that content that has the document default color is pasted as blue
14 (or whatever the color for quoted content is) when pasted in the middle of quote d content.</div>
15 <div id="edit" contenteditable="true"><blockquote type="cite"><div>()</div></blo ckquote></div>
16 <script src="../../resources/dump-as-markup.js"></script>
17 <script>
18 edit = document.getElementById("edit");
19 description = document.getElementById("description");
20 edit.focus();
21 var s = window.getSelection();
22 s.setPosition(edit.firstChild.firstChild.firstChild, 1);
23
24 document.execCommand("InsertHTML", false, "<span class='Apple-style-span' style= 'color: black;'>This text should be blue.</span>");
25
26 Markup.description(description.textContent);
27 Markup.dump('edit');
28 </script>
29 </body>
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698