Index: LayoutTests/editing/style/justify-left-crash.html |
diff --git a/LayoutTests/editing/style/justify-left-crash.html b/LayoutTests/editing/style/justify-left-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..02ae756f5a4fc06d358474c25869431c93348c9d |
--- /dev/null |
+++ b/LayoutTests/editing/style/justify-left-crash.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE html> |
+<html hidden> |
+<head> |
+<style> |
+html, head, style { |
+ display: block; |
+} |
+</style> |
+</head> |
+<script> |
+ document.designMode = "on"; |
+ document.execCommand("selectAll"); |
+ document.execCommand("italic"); |
+ document.execCommand("justifyLeft"); |
+ document.documentElement.removeAttribute("hidden"); |
+</script> |
+<body> |
+This test passes if it does not crash. |
+</body> |
+</html> |