no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / bugs / 447749-1.html
blobf747614f73071a0c6215b210f56c52f6c91cd583
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>Bug 4477749</title>
5 <style type="text/css">
6 div.scroller { overflow: scroll; width: 100px; }
7 span { border: 1px solid blue; }
8 </style>
9 <script type="text/javascript">
10 function testit()
12 var inner=document.getElementById("testinner").childNodes[0];
13 window.getSelection().collapse(inner, 0);
14 document.getElementById("testmid").scrollLeft=-1000;
15 document.getElementById("testouter").style.direction="ltr";
17 </script>
18 </head>
19 <body onload="testit()">
20 <div id="testouter" dir="rtl">
21 <div id="testmid" class="scroller"><span id="testinner">TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText</span></div>
22 </div>
23 </body>
24 </html>