tor-browser

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

image-orientation-viewbox-no-size.html (422B)


      1 <!DOCTYPE>
      2 <head>
      3  <style>
      4    body {
      5      border:  0px;
      6      margin:  0px;
      7      padding: 0px;
      8    }
      9    img {
     10      image-orientation: from-image;
     11    }
     12  </style>
     13 </head>
     14 <body>
     15  <img src="image-orientation-viewbox-no-size.svg">
     16  <script>
     17    let fromImage = location.search == "from-image";
     18    if (fromImage) {
     19      document.querySelector("img").style.imageOrientation = "from-image";
     20    }
     21  </script>
     22 </body>