[css-grid] Scroll reset position when updating inner html on content
[WebKit-https.git] / LayoutTests / editing / deleting / search-shadow-tree-delete.html
1 <html>
2 <head>
3     <script type='text/javascript'>
4     if (window.testRunner)
5         testRunner.dumpAsText();
6     function start()
7     {
8         document.designMode="on";
9         document.getElementById("input_0").focus();
10         window.getSelection().modify("extend", "backward", "line");
11         document.execCommand("forwardDelete",true, null);
12         document.execCommand("delete",true, null);
13         if (window.GCController)
14             GCController.collect();
15         document.getElementById("input_0").blur();
16     }
17     </script>
18 </head>
19 <body onload="start()">
20     <input id="input_0" type="search" name="fname">
21 </body>
22 </html>
23