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

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: Update test 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..38c03df260332e8dd505e3def4ad3040603b41a6
--- /dev/null
+++ b/LayoutTests/editing/execCommand/indent-nested-blockquotes-crash.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html id="html">
Yuta Kitamura 2014/04/30 08:42:03 Is this ID necessary?
yoichio 2014/04/30 08:56:08 Done.
+<head id="head">
Yuta Kitamura 2014/04/30 08:42:03 Ditto.
yoichio 2014/04/30 08:56:08 Done.
+<style>
+* { display: -webkit-inline-box;}
Yuta Kitamura 2014/04/30 08:42:03 nit: Insert a space after semicolon.
yoichio 2014/04/30 08:56:08 Done.
+.CLASS11 { float: right;}
Yuta Kitamura 2014/04/30 08:42:03 Ditto.
yoichio 2014/04/30 08:56:08 Done.
+</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