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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/undo/redo-after-detach.html

Issue 2005093002: Remove non-standard 'results' attribute of INPUT element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 <html>
2 <head>
3 <script>
4 function test()
5 {
6 document.getElementById("tf").setAttribute("results", 0);
7 document.execCommand("Redo");
8 }
9 </script>
10 </head>
11 <body onload="test()">
12 This tests that we don't crash when redoing an editing command after the search field has been detached and reattached.<br>
13 <input type="search" id="tf"><br>
14 <script>
15 if (window.testRunner)
16 testRunner.dumpAsText();
17
18 document.getElementById("tf").focus();
19 document.execCommand("InsertText", false, "test");
20 document.execCommand("Undo");
21 </script>
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698