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..09796c515b4d2d159434375425a8f01d329a2a06 |
--- /dev/null |
+++ b/LayoutTests/editing/execCommand/remove-format-iframe-in-button.html |
@@ -0,0 +1,23 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script type="text/javascript"> |
+ |
+function runTest() { |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+ document.designMode="on"; |
+ document.execCommand("SelectAll"); |
+ document.execCommand("RemoveFormat"); |
+ Markup.dump("test"); |
yosin_UTC9
2014/06/26 08:49:11
Just document.body.textContent = 'PASS if Blink do
|
+} |
+</script> |
+</head> |
+<body onload="runTest()"> |
+ <script type="text/javascript" src="../../resources/dump-as-markup.js"></script> |
+ <button id="test"> |
+ <iframe></iframe> |
+ </button> |
+</body> |
+</html> |