layout/reftests/bugs/447749-1.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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()
    11 {
    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";
    16 }
    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>

mercurial