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/inserting/6703873-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 <style>
2 blockquote {
3 color: blue;
4 border-left: solid blue;
5 padding-left: 5px;
6 margin: 0;
7 }
8 blockquote blockquote {
9 color: green;
10 border-left-color: green;
11 }
12 </style>
13 <body>
14 <div>
15 This tests that placing the cursor at the beginning of a
16 doubly-quoted paragraph and hitting Return splits the outer blockquote
17 at the right place, namely just above the inner blockquote, and inserts
18 an empty line there, rather than outside the outer blockquote.
19 </div>
20 <div id="div" contentEditable="true"><blockquote type="cite"><div>Lorem<br>i psum<blockquote id="test" type="cite">dolor</blockquote></blockquote></div>
21 <script>
22 test = document.getElementById("test");
23 window.getSelection().setPosition(test, 0);
24 document.execCommand("InsertNewlineInQuotedContent");
25
26 if (window.testRunner) {
27 window.testRunner.dumpAsText();
28 div = document.getElementById("div");
29 div.innerText = div.innerHTML;
30 }
31 </script>
32 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698