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

Side by Side Diff: LayoutTests/editing/inserting/insert-br-quoted-004.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
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
9 }
10 .scenario:first-line { font-weight: bold; font-size: 24px; }
11 .expected:first-line { font-weight: bold; font-size: 24px; }
12 .citation { margin-bottom: 0px; border: 2px solid blue; font-size: 24px; }
13 </style>
14 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script >
15
16 <script>
17
18 function editingTest() {
19 moveSelectionForwardByCharacterCommand();
20 moveSelectionForwardByCharacterCommand();
21 moveSelectionForwardByCharacterCommand();
22 moveSelectionForwardByCharacterCommand();
23 insertNewlineInQuotedContentCommand();
24 }
25
26 </script>
27
28 <title>Editing Test</title>
29 </head>
30 <body id="root">
31 <div class="explanation">
32 <div class="scenario">
33 Splitting Mail blockquotes.
34 </div>
35 <div class="expected">
36 Expected Results:
37 <br>
38 Two blockquotes, with an unquoted blank line in between.<br>
39 The first blockquote contains two lines, the second one is blank.<br>
40 The second blockquote contains two non-blank lines.
41 </div>
42 </div>
43 <div contenteditable class="editing">My citation:
44 <div id="test">
45 <blockquote class="citation" type="cite"><div>one</div><div style="min-height: 2 4px;"><div style="min-height: 24px;"><div style="min-height: 24px;"><br></div>on e and a half</div></div><div>two</div></blockquote>
46 </div>
47 </div>
48
49 <script>
50 runEditingTest();
51 </script>
52
53 </body>
54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698