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

Unified Diff: third_party/WebKit/LayoutTests/editing/execCommand/534617-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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/execCommand/534617-crash.html
diff --git a/third_party/WebKit/LayoutTests/editing/pasteboard/insert-font-weight2.html b/third_party/WebKit/LayoutTests/editing/execCommand/534617-crash.html
similarity index 52%
copy from third_party/WebKit/LayoutTests/editing/pasteboard/insert-font-weight2.html
copy to third_party/WebKit/LayoutTests/editing/execCommand/534617-crash.html
index c72b31f7e8080233df7ba4f0aaf683371fccc928..eb7ea16d0c680f5c93ebb8055d0399ca63b26117 100644
--- a/third_party/WebKit/LayoutTests/editing/pasteboard/insert-font-weight2.html
+++ b/third_party/WebKit/LayoutTests/editing/execCommand/534617-crash.html
@@ -1,23 +1,19 @@
<!DOCTYPE html>
yosin_UTC9 2015/10/19 08:56:57 File name should represent what test doing instead
+<html><head>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
-a
-<style>
-* {
- font-weight:lighter;
-}
-</style>
-a
-<style>
-* {
- font-weight:900;
-}
-</style>
+</head>
+<body>
+<blockquote type="cite"><div>Three</div></blockquote>
+<br>
+"bar"
<div id="log"></div>
<script>
-test(function() {
+test(function () {
document.designMode = 'on';
document.execCommand("selectAll");
- document.execCommand("insertOrderedList");
+ document.execCommand("InsertHTML", false, "<blockquote type='cite'>Line 2</blockquote><img>");
});
</script>
+</body>
+</html>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698