summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1272997-1.html
blob: fee818bccc4508e772c3f72b36f3de66ae0dab51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
  <head>
    <script>
      function test() {
        var elem = document.getElementById("test");
        elem.style.width = "350px";
      }
    </script>
  </head>
  <body onload="test()">
    <iframe id="test" style="width:400px;"
            src="data:text/html,
                 <html>
                   <style>
                     html { writing-mode:vertical-rl; }
                     div { writing-mode:initial; position:absolute;
                           right:0; padding:5px; }
                   </style>
                   <div>This text should NOT be cut off</div>">
    </iframe>
  </body>
</html>