no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / base / tests / bug1263357-5.html
blobaa98d175780d234d281d759bfa7b013c3a4eb26d
1 <!DOCTYPE HTML><html>
2 <!--
3 https://bugzilla.mozilla.org/show_bug.cgi?id=bug1263357
4 -->
5 <head>
6 <meta charset="utf-8">
7 <title>Testcase #5 for bug1263357</title>
8 <script src="/tests/SimpleTest/SimpleTest.js"></script>
9 <script src="/tests/SimpleTest/EventUtils.js"></script>
10 </head>
11 <body>
12 <div id="editable" contenteditable='true' spellcheck=false style="outline: 1px solid;"><span id="theSpan">text<br></span> more</div>
13 <script>
15 function start() {
16 var sel = window.getSelection();
17 // Focus on editable block.
18 theDiv = document.getElementById("editable");
19 theSpan = document.getElementById("theSpan");
20 theDiv.focus();
21 sel.collapse(theSpan, 2);
24 SimpleTest.waitForFocus(start);
26 </script>
27 </body>
28 </html>