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..ad2a86ea1cfe756cd54def8769630023d232c54b |
--- /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. WebKit didn't crash."; |
hayato
2014/03/10 04:59:08
Nit: Could you change 'WebKit' to 'Blink'? :)
|
+ </script> |
+ </body> |
+</html> |