Index: LayoutTests/editing/execCommand/indent-inline-box-crash.html |
diff --git a/LayoutTests/editing/execCommand/indent-inline-box-crash.html b/LayoutTests/editing/execCommand/indent-inline-box-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cd31cb61dfbfee6090a939bb465b6bec1dbc0846 |
--- /dev/null |
+++ b/LayoutTests/editing/execCommand/indent-inline-box-crash.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<head> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+onload = function () { |
+ document.designMode = 'on'; |
+ document.execCommand('SelectAll') |
+ document.execCommand('Indent'); |
+ document.body.textContent = 'PASS if Blink doesn\'t crash.'; |
+}; |
+</script> |
+</head> |
+<body style="display: -webkit-inline-box"> |
+<ol style="display: -webkit-inline-box"> |
+<br> |
+foo |
+</ol> |
+</body> |
+</html> |