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

Side by Side Diff: LayoutTests/editing/inserting/6104369-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: 1px solid blue;
5 padding-left: 2px;
6 margin: 0px;
7 }
8 </style>
9 <body>
10 <div>This tests for a bug where hitting return at the end of a paragraph inside a blockquote would create an extraneous empty quoted paragraph. You should see "line one" (quoted), "" (unquoted), and "line two" (quoted) below.</div>
11 <div id="div" contentEditable="true"><blockquote type="cite"><pre id="pre">line one
12 line two</pre></blockquote></div>
13 <script>
14 if (window.testRunner)
15 window.testRunner.dumpAsText();
16 text = document.getElementById("pre").firstChild;
17 window.getSelection().setPosition(text, 8);
18 document.execCommand("InsertNewlineInQuotedContent");
19 if (window.testRunner) {
20 div = document.getElementById("div");
21 div.innerText = div.innerHTML;
22 }
23 </script>
24 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698