summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/textarea/rtl-dynamic-attr.html
blob: 47f97baa7bc0b3b5103d4036daf5748deed16a56 (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").setAttribute("dir", "rtl");
        document.documentElement.removeAttribute("class");
      });
    };
  </script>
 </body>
</html>