Missing cursor/caret showing in search field on google.com
[WebKit-https.git] / LayoutTests / editing / selection / leave-requested-block.html
1 <html> 
2 <head>
3
4 <link rel=stylesheet href="../editingStyle.css" type="text/css">
5 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
6
7 <script>
8
9 function editingTest() {
10     for (var i = 0; i < 30; i++) {
11         extendSelectionForwardByLineCommand();
12     }
13 }
14
15 </script>
16
17 <title>Editing Test</title> 
18 </head> 
19
20 <body>
21 <p>Test case for fix for <a href="https://bugs.webkit.org/show_bug.cgi?id=5354">http://bugzilla.opendarwin.org/show_bug.cgi?id=5354</a>.</p>
22 <p>Changes were made to VisiblePosition's so that init() will not leave the block containing the requested position unless there are no VisiblePositions in that block.<p>
23
24                 <div class="editableblock" id="test" contenteditable="true">
25                         <p>Select All while inside this editable block should create a selection that does not extend outside of this block.</p>
26                 </div>
27
28                 <p style="overflow: hidden;">This is a paragraph outside the editable block with overflow:hidden</p>
29
30 <script>
31 runEditingTest();
32 </script>
33 </body>
34 </html>