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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script type="text/javascript">
Yuta Kitamura 2014/06/18 03:14:38 I generally recommend NOT indenting nested HTML el
5
6 function runTest() {
7 if (window.testRunner)
8 testRunner.dumpAsText();
9
10 document.designMode="on";
11 var button = document.getElementById('test');
Yuta Kitamura 2014/06/18 03:14:38 This variable seems unused.
12 document.execCommand("SelectAll");
13 document.execCommand("RemoveFormat");
14 Markup.dump("test");
15 }
16 </script>
17
Yuta Kitamura 2014/06/18 03:14:38 Unnecessary blank line.
18 </head>
19
Yuta Kitamura 2014/06/18 03:14:38 Ditto.
20 <body onload="runTest()">
21 <script type="text/javascript" src="../../resources/dump-as-markup.js"></scr ipt>
22 <button id="test">
Yuta Kitamura 2014/06/18 03:14:38 Weird indentation.
23 <iframe></iframe>
24 </button>
25 </body>
26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698