tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

textarea-display.html (684B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>Display of textarea</title>
      6 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1700535">
      7 <link rel="help" href="https://github.com/whatwg/html/issues/4082">
      8 <meta name="assert" content="textarea has inline block display.">
      9 <script src="/resources/testharness.js"></script>
     10 <script src="/resources/testharnessreport.js"></script>
     11 </head>
     12 <body>
     13 <textarea id="t"></textarea>
     14 <script>
     15    test(
     16      function(){
     17        var target = document.getElementById("t");
     18        assert_equals(getComputedStyle(target).display, "inline-block");
     19      }, "textarea has inline block display");
     20 </script>
     21 </body>
     22 </html>