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

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: Fix dummy whitespace issue. 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..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>

Powered by Google App Engine
This is Rietveld 408576698