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

Side by Side Diff: LayoutTests/editing/inserting/break-blockquote-after-delete.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
11 blockquote #dq {
12 color: green;
13 border-color: green;
14 }
15
16
17 </style>
18 <script>
19 function test()
20 {
21 window.getSelection().setBaseAndExtent(document.getElementById(' line'), 0, document.getElementById('dq'), 0);
22 document.execCommand("Delete");
23 document.execCommand("InsertNewlineInQuotedContent");
24 document.execCommand("InsertText", true, "black");
25 }
26 </script>
27 </head>
28 <body onload="test()">This tests that the blockquote's typing style doesn't remain after breaking the blockquote and typing in the unquoted area.<br><br>
29 <div contenteditable>
30 <blockquote type="cite">blue
31 <div id="line"><br></div>
32 <div>
33 <blockquote type="cite" id="dq">green</blockquote>
34 </div>
35 </blockquote>
36 </div>
37 </body>
38 </html>
39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698