4 <title>Bug
4477749</title>
5 <style type=
"text/css">
6 div
.scroller
{ overflow: scroll
; width: 100px; }
7 span
{ border: 1px solid blue
; }
9 <script type=
"text/javascript">
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";
19 <body onload=
"testit()">
20 <div id=
"testouter" dir=
"rtl">
21 <div id=
"testmid" class=
"scroller"><span id=
"testinner">TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
</span></div>