Index: LayoutTests/editing/execCommand/indent-table-cell-crash.html |
diff --git a/LayoutTests/editing/execCommand/indent-head-crash.html b/LayoutTests/editing/execCommand/indent-table-cell-crash.html |
similarity index 59% |
copy from LayoutTests/editing/execCommand/indent-head-crash.html |
copy to LayoutTests/editing/execCommand/indent-table-cell-crash.html |
index 4c6570aa894fc8ac44e48d514aded1f0bc53ce2f..573bf049d27f0bfa2dea1d331e89f663654f8bc1 100644 |
--- a/LayoutTests/editing/execCommand/indent-head-crash.html |
+++ b/LayoutTests/editing/execCommand/indent-table-cell-crash.html |
@@ -1,13 +1,7 @@ |
<!DOCTYPE html> |
-<html> |
<head> |
<style> |
-head { |
- display: table-caption; |
- height: 100px; |
- width: 100px; |
- background-color: red; |
-} |
+hr { display: table-cell; } |
</style> |
<script> |
if (window.testRunner) |
@@ -17,12 +11,11 @@ onload = function() { |
document.designMode = 'on'; |
document.execCommand('SelectAll'); |
document.execCommand('Indent'); |
- document.open(); |
- document.write('PASS if Blink doesn\'t crash.'); |
+ document.body.textContent = 'PASS if Blink doesn\'t crash.'; |
}; |
</script> |
</head> |
<body> |
-foo |
+before<hr><hr>after |
</body> |
</html> |