summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bidi/536963-1.html
blob: dd316992328e05c17a91e9015a3eef3aba7f458a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE HTML>
<html>
 <head>
  <title>Dynamic bidi bug</title>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <style type="text/css">
  p { width: 3ch;}
  </style>
  <script type="text/javascript">
function flip()
{
    var flipped= document.getElementById('flipped');
    flipped.dir = "rtl";
}
  </script>
 </head>
 <body onload="flip()">
  <p id="flipped">0 123 4</p>
 </body>
</html>