Index: LayoutTests/editing/execCommand/remove-redundant-styles-and-keep-style-span-inline-crashed.html |
diff --git a/LayoutTests/editing/execCommand/remove-redundant-styles-and-keep-style-span-inline-crashed.html b/LayoutTests/editing/execCommand/remove-redundant-styles-and-keep-style-span-inline-crashed.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f148da079dad3ad061d86334e2c50c7ba9b475a7 |
--- /dev/null |
+++ b/LayoutTests/editing/execCommand/remove-redundant-styles-and-keep-style-span-inline-crashed.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<head> |
+<style> |
+* { |
+ border-image-source: url(foo); |
+ background-position-x: 2147483470%; |
+ font-style: normal; |
+} |
+</style> |
+</head> |
+<body> |
+<i>PASS if Blink doesn't crash.</i> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+document.designMode = 'on'; |
+document.execCommand('SelectAll'); |
+document.execCommand('Cut'); |
+document.execCommand('Paste'); |
+</script> |
+</body> |