tor-browser

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

dir-selector-change-004.html (831B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <title>CSS Selectors Level 4 Test: Check for correctly updating :dir matching on directionality change from ltr to rtl</title>
      5    <link rel="author" title="Miyoung Shin" href="mailto:myid.shin@igalia.com">
      6    <link rel="help" href="http://www.w3.org/TR/selectors4/#dir-pseudo">
      7    <link rel="match" href="dir-selector-change-004-ref.html">
      8    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      9    <style>
     10        #x:dir(rtl) + span { background-color: lime }
     11    </style>
     12 </head>
     13 <body>
     14    <div dir="auto">
     15        <div>
     16            <div id="x"></div>
     17            <span id="inner">The background color should be lime</span>
     18        </div>
     19    </div>
     20    <script>
     21        inner.offsetTop;
     22        inner.innerHTML = "מקור השם עברית";
     23    </script>
     24 </body>
     25 </html>