<!DOCTYPE HTML>
<html>
 <head>
  <title>Bug 4477749</title>
  <style type="text/css">
   div.scroller { overflow: scroll; width: 100px; }
   span { border: 1px solid blue; }
  </style>
 </head>
 <body>
  <div dir="ltr">
   <div class="scroller"><span>TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText</span></div>
  </div>
 </body>
</html>