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

Unified Diff: LayoutTests/editing/execCommand/justify-center-empty-list-crash.html

Issue 300023009: Get rid of false assert from CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-05-30T02:02:04 Created 6 years, 7 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 | LayoutTests/editing/execCommand/justify-center-empty-list-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/execCommand/justify-center-empty-list-crash.html
diff --git a/LayoutTests/editing/execCommand/indent-table-cell-crash.html b/LayoutTests/editing/execCommand/justify-center-empty-list-crash.html
similarity index 50%
copy from LayoutTests/editing/execCommand/indent-table-cell-crash.html
copy to LayoutTests/editing/execCommand/justify-center-empty-list-crash.html
index 573bf049d27f0bfa2dea1d331e89f663654f8bc1..760f54d28b5350573dac0173529857542da1e485 100644
--- a/LayoutTests/editing/execCommand/indent-table-cell-crash.html
+++ b/LayoutTests/editing/execCommand/justify-center-empty-list-crash.html
@@ -1,21 +1,23 @@
<!DOCTYPE html>
+<html>
<head>
-<style>
-hr { display: table-cell; }
-</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
onload = function() {
- document.designMode = 'on';
- document.execCommand('SelectAll');
- document.execCommand('Indent');
+ document.designMode = "on";
+ document.execCommand("SelectAll");
+ document.execCommand("JustifyCenter");
document.body.textContent = 'PASS if Blink doesn\'t crash.';
};
</script>
</head>
<body>
-before<hr><hr>after
+<ul style="height: 20px;"></ul>
+<div>
+ <div></div>
+ <a target="foo">more</a>
+</div>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/justify-center-empty-list-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698