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

Side by Side Diff: LayoutTests/editing/deleting/2610675-1.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[type="cite"] {
5 color: blue;
6 margin: 0px;
7 padding-left: 4px;
8 border-left: 2px solid blue;
9 }
10 </style>
11 </head>
12 <body>
13 <div id="description">This tests to see that if the caret is in an empty quoted paragraph, that paragraph is in content that preserve newlines, and there's no q uoted content before that paragraph, then pressing delete removes that paragraph 's quoting and removes the empty line. Below you should see the attribution lin e, an unquoted paragraph, and then a quoted paragraph with "quoted" in it.</div>
14 <div id="edit" contentEditable="true">
15 <div><br></div>
16 <div>On Tuesday, Justin wrote:</div>
17 <div><br></div>
18 <blockquote type="cite" id="blockquote"><div style="white-space: pre;">
19 quoted</div></blockquote>
20 </div>
21
22 <script>
23 if (window.testRunner)
24 window.testRunner.dumpAsText();
25 blockquote = document.getElementById("blockquote");
26 window.getSelection().setPosition(blockquote, 0);
27 document.execCommand("Delete");
28 document.execCommand("InsertText", false, "not quoted");
29 if (window.testRunner)
30 document.body.innerText = document.getElementById("description").innerText + "\n" + document.getElementById("edit").innerHTML;
31 </script>
32
33 </body>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698