tor-browser

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

direction-propagation-body-contain-root.html (541B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>CSS Writing Modes Test: Do not propagate direction from body when html root is contained</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-writing-modes/#principal-flow">
      5 <link rel="match" href="direction-propagation-body-contain-root-ref.html">
      6 <style>
      7  html { contain: paint; }
      8  body { direction: rtl; display: inline; }
      9 </style>
     10 <body></body>
     11 <script>
     12  document.documentElement.insertBefore(document.createTextNode("This text should be left aligned."), document.body);
     13 </script>