layout/reftests/text/text-align-left-in-rtl-block.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text/text-align-left-in-rtl-block.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html class="reftest-wait"><head>
     1.6 +    <meta charset="utf-8">
     1.7 +    <title>Testcase for bug 806284</title>
     1.8 +    <style type="text/css">
     1.9 +        html,body {
    1.10 +            color:black; background-color:white; font-size:16px; padding:0; margin:0;
    1.11 +        }
    1.12 +
    1.13 +        #t { width:10em; border: 1px solid black; }
    1.14 +    </style>
    1.15 +</head>
    1.16 +<body>
    1.17 +<iframe id="t" src="text-align-left-in-rtl-block-iframe.html"></iframe>
    1.18 +<script type="text/javascript">
    1.19 +function test()
    1.20 +{
    1.21 +  var t = document.getElementById('t');
    1.22 +  t.style.width = '20em';
    1.23 +  document.documentElement.removeAttribute("class");
    1.24 +}
    1.25 +document.addEventListener("MozReftestInvalidate", test, false);
    1.26 +</script>
    1.27 +</body>
    1.28 +</html>

mercurial