summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/textarea/rtl-dynamic-style.html
blob: 8997e31c050eaac10c7b95d5a23622fad371ed31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE HTML>
<html class="reftest-wait">
 <head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <title></title>
 </head>
 <body>
  <textarea cols=20 rows=4></textarea>
  <script>
    onload = function() {
      setTimeout(function() {
        document.querySelector("textarea").style.direction = "rtl";
        document.documentElement.removeAttribute("class");
      });
    };
  </script>
 </body>
</html>