Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: LayoutTests/editing/execCommand/remove-format-iframe-in-button.html

Issue 342483002: The length of a TextIterator containing replaced element is at least 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated patch Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698