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

Side by Side Diff: LayoutTests/editing/deleting/5495723.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 <head>
2 <style>
3 blockquote[type=cite] {
4 color:
5 }
6 </style>
7 </head>
8 <body>
9 <div id="description">This tests for a bug where deleting whole paragraphs of qu oted content plus a line break could pull unquoted content into a blockquote.</d iv>
10 <div id="edit" contentEditable="true"><blockquote type="cite">one<br><span id="s tart">two</span></blockquote><span id="end">three</span></div>
11
12 <script>
13 if (window.testRunner)
14 window.testRunner.dumpAsText();
15
16 start = document.getElementById("start");
17 end = document.getElementById("end");
18
19 window.getSelection().setBaseAndExtent(start, 0, end, 0);
20 document.execCommand("Delete");
21 if (window.testRunner)
22 document.body.innerText = document.getElementById("description").innerText + "\n\n" + document.getElementById("edit").innerHTML;
23 </script>
24 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698