Index: LayoutTests/editing/execCommand/extracted-style-assert.html |
diff --git a/LayoutTests/editing/execCommand/extracted-style-assert.html b/LayoutTests/editing/execCommand/extracted-style-assert.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b3184a1358768b06ea27dc71741a40b8527b677e |
--- /dev/null |
+++ b/LayoutTests/editing/execCommand/extracted-style-assert.html |
@@ -0,0 +1,19 @@ |
+<html> |
+ <body> |
+ <table> |
+ <td> |
+ <a></a> |
+ </td> |
+ </table> |
+ <script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+ document.designMode = "on"; |
+ document.execCommand("SelectAll"); |
+ document.execCommand("CreateLink", 0, 'foo'); |
+ |
+ document.body.innerHTML = "PASS. Blink didn't crash."; |
+ </script> |
+ </body> |
+</html> |