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

Side by Side Diff: LayoutTests/editing/execCommand/4580583-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 <html>
2 <head>
3 <style>
4 blockquote {
5 color: blue;
6 border-left: 2px solid blue;
7 margin-left: 2px;
8 }
9 </style>
10 </head>
11 <body>
12 <p>This tests to make sure that breaking a quoted list doesn't renumber the list. You should see a list broken in two below, the list items numbered 1, 2, 2, 3, 4. Two list items will be numbered '2' because the original item '2' was s plit.</p>
13 <div contenteditable="true">
14 <blockquote type="cite">
15 <ol>
16 <li>One</li>
17 <li id="two">TwoTwo</li>
18 <li>Three</li>
19 <li>Four</li>
20 </ol>
21 </blockquote>
22 </div>
23
24 <script>
25 li = document.getElementById("two");
26 text = li.firstChild;
27 selection = window.getSelection();
28 selection.setPosition(text, 3);
29 document.execCommand("InsertNewlineInQuotedContent");
30 </script>
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698