summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text/text-align-left-in-rtl-block.html
blob: 57a790bce0cf23a87971c780c05f9a25d881b01d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE HTML>
<html class="reftest-wait"><head>
    <meta charset="utf-8">
    <title>Testcase for bug 806284</title>
    <style type="text/css">
        html,body {
            color:black; background-color:white; font-size:16px; padding:0; margin:0;
        }

        #t { width:10em; border: 1px solid black; }
    </style>
</head>
<body>
<iframe id="t" src="text-align-left-in-rtl-block-iframe.html"></iframe>
<script type="text/javascript">
function test()
{
  var t = document.getElementById('t');
  t.style.width = '20em';
  document.documentElement.removeAttribute("class");
}
document.addEventListener("MozReftestInvalidate", test);
</script>
</body>
</html>