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

Side by Side Diff: LayoutTests/editing/inserting/6703873.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: 0px;
8 padding-left: 10px;
9 }
10 </style>
11 <script>
12 function log(msg)
13 {
14 document.getElementById('console').appendChild(document.createTe xtNode(msg + '\n'));
15 }
16
17 function test()
18 {
19 var s = window.getSelection();
20 s.setPosition(document.getElementById('qt'), 0);
21 s.modify("extend", "forward", "line");
22 document.execCommand("InsertNewlineInQuotedContent");
23 document.execCommand("InsertText", "true", "unquoted");
24 }
25 </script>
26 </head>
27 <body onload="test()">
28 <p>This tests that inserting a newline in place of a full line of quoted content doesn't add an extra quoted line. The test has passed if there are no empty lines (quoted or unquoted) in the box below.</p>
29 <div contenteditable="true">
30 <blockquote type="cite"><div>quoted</div><div id="qt">quoted</div><d iv>quoted</div></blockquote>
31 </div>
32 <pre id="console"></pre>
33 </body>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698