tor-browser

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

test_bug562169-2.html (751B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=562169
      5 -->
      6 <head>
      7  <meta charset="utf-8">
      8  <title>Test for Bug 562169</title>
      9  <script src="/tests/SimpleTest/SimpleTest.js"></script>
     10  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     11 </head>
     12 <body>
     13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=562169">Mozilla Bug 562169</a>
     14 <p id="display"></p>
     15 <div id="content" style="display: none">
     16 </div>
     17 <pre id="test">
     18 <script type="application/javascript">
     19 
     20 /** Test for Bug 562169 */
     21 /** Test that a newly created element has ltr directionality */
     22 
     23 ok(document.createElement("div").matches(":dir(ltr)"),
     24   "Element should be ltr on creation");
     25 
     26 </script>
     27 </pre>
     28 </body>
     29 </html>