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

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: 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
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..a95e8e163828e2847e33fa97b03e6827591d9acb
--- /dev/null
+++ b/LayoutTests/editing/execCommand/indent-nested-blockquotes-crash.html
@@ -0,0 +1,21 @@
+<html id="html">
yosin_UTC9 2014/04/28 01:48:27 nit: Could you add "<!DOCTYPE html>" to make Blink
yoichio 2014/04/30 07:45:17 Done.
+<head id="head">
+<style>
+* { display: -webkit-inline-box;}
+.CLASS11 { float: right;}
+</style>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+
+window.onload = function () {
+ document.designMode = "on";
yosin_UTC9 2014/04/28 01:48:27 nit: Could you use single quote for string literal
yoichio 2014/04/30 07:45:17 Done.
+ 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>

Powered by Google App Engine
This is Rietveld 408576698