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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/execCommand/replace-crossing-mailblockquote-crash.html

Issue 1395693009: [Editing][BugFix] Fix if condition in ReplaceSelectionCommand (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 2 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html><head>
2 <script src="../../resources/testharness.js"></script> 3 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script> 4 <script src="../../resources/testharnessreport.js"></script>
4 a 5 </head>
5 <style> 6 <body>
6 * { 7 <blockquote type="cite"><div>Three</div></blockquote>
7 font-weight:lighter; 8 <br>
8 } 9 "bar"
9 </style>
10 a
11 <style>
12 * {
13 font-weight:900;
14 }
15 </style>
16 <div id="log"></div> 10 <div id="log"></div>
17 <script> 11 <script>
18 test(function() { 12 test(function () {
19 document.designMode = 'on'; 13 document.designMode = 'on';
20 document.execCommand("selectAll"); 14 document.execCommand("selectAll");
yosin_UTC9 2015/10/21 05:45:18 nit: prefer to use single-quote in JavaScript. At
yoichio 2015/10/22 05:14:22 Done.
21 document.execCommand("insertOrderedList"); 15 document.execCommand("InsertHTML", false, "<blockquote type='cite'>Line 2</b lockquote><img>");
22 }); 16 });
23 </script> 17 </script>
18 </body>
19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698