Index: LayoutTests/editing/execCommand/indent-table-cell-crash.html |
diff --git a/LayoutTests/editing/execCommand/indent-table-cell-crash.html b/LayoutTests/editing/execCommand/indent-table-cell-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8880b6a079c6ea43744c152f943f614602146c60 |
--- /dev/null |
+++ b/LayoutTests/editing/execCommand/indent-table-cell-crash.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<head> |
+<style> |
+hr { display: table-cell; } |
+</style> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+onload = function() { |
+ document.designMode = 'on'; |
Yuta Kitamura
2014/05/27 07:41:27
nit: Please use 4-space indent.
yosin_UTC9
2014/05/27 09:30:06
Done.
|
+ document.execCommand('SelectAll'); |
+ document.execCommand('Indent'); |
+ document.body.textContent = 'PASS if Blink doesn\'t crash.'; |
+}; |
+</script> |
+</head> |
+<body> |
+before<hr><hr>after |
+</body> |
+</html> |