Index: LayoutTests/editing/execCommand/remove-format-iframe-in-button.html |
diff --git a/LayoutTests/editing/execCommand/remove-format-iframe-in-button.html b/LayoutTests/editing/execCommand/remove-format-iframe-in-button.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4307e38b383f4c91bdc7f1dd298687292cb94d71 |
--- /dev/null |
+++ b/LayoutTests/editing/execCommand/remove-format-iframe-in-button.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+onload = function() { |
+ document.designMode="on"; |
tkent
2014/06/27 05:02:43
Put spaces around '='.
|
+ document.execCommand("SelectAll"); |
+ document.execCommand("RemoveFormat"); |
+ document.body.textContent = "PASS if Blink doesn't crash."; |
+}; |
+</script> |
+</head> |
+<body> |
+ <button><iframe></iframe></button> |
+</body> |
+</html> |