Index: LayoutTests/editing/execCommand/justy-center-with-uneditable-crash.html |
diff --git a/LayoutTests/editing/execCommand/indent-table-cell-crash.html b/LayoutTests/editing/execCommand/justy-center-with-uneditable-crash.html |
similarity index 62% |
copy from LayoutTests/editing/execCommand/indent-table-cell-crash.html |
copy to LayoutTests/editing/execCommand/justy-center-with-uneditable-crash.html |
index 573bf049d27f0bfa2dea1d331e89f663654f8bc1..85d20eb2080b889655f1e3900febf39493daf545 100644 |
--- a/LayoutTests/editing/execCommand/indent-table-cell-crash.html |
+++ b/LayoutTests/editing/execCommand/justy-center-with-uneditable-crash.html |
@@ -1,21 +1,19 @@ |
<!DOCTYPE html> |
+<html> |
<head> |
-<style> |
-hr { display: table-cell; } |
-</style> |
<script> |
if (window.testRunner) |
testRunner.dumpAsText(); |
onload = function() { |
- document.designMode = 'on'; |
document.execCommand('SelectAll'); |
- document.execCommand('Indent'); |
+ document.execCommand('JustifyCenter'); |
document.body.textContent = 'PASS if Blink doesn\'t crash.'; |
}; |
</script> |
</head> |
-<body> |
-before<hr><hr>after |
+<body contenteditable="true"> |
+<kbd>foo</kbd> |
+<sup>bar<abbr contenteditable="false">baz</abbr></sup> |
</body> |
</html> |