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

Unified Diff: LayoutTests/editing/execCommand/indent-nested-blockquotes-crash.html

Issue 251723003: Check the traversal state in CompositeEditCommand::cloneParagraphUnderNewElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Nit pick Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/indent-nested-blockquotes-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/execCommand/indent-nested-blockquotes-crash.html
diff --git a/LayoutTests/editing/execCommand/indent-nested-blockquotes-crash.html b/LayoutTests/editing/execCommand/indent-nested-blockquotes-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..54b8986c184e0d55ac46ff73572370f777675251
--- /dev/null
+++ b/LayoutTests/editing/execCommand/indent-nested-blockquotes-crash.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+* { display: -webkit-inline-box; }
+.CLASS11 { float: right; }
+</style>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+
+window.onload = function () {
+ document.designMode = 'on';
+ document.execCommand('SelectAll', false)
+ document.execCommand('Indent', false, false);
+ document.execCommand('Indent', false, false);
+ document.documentElement.innerHTML = 'PASS. Blink didn\'t crash.';
+};
+</script>
+</head>
+<body>aaa<div class="CLASS11"></div><div>bbb</div></body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/indent-nested-blockquotes-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698