tor-browser

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

image-orientation-from-image-composited.html (1878B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Images Module Level 3: image-orientation: from-image with will-change: transform</title>
      6 <link rel="author" title="Stephen Chenney" href="mailto:schenney@chromium.org">
      7 <link rel="help" href="https://drafts.csswg.org/css-images-3/#propdef-image-orientation">
      8 <link rel="match" href="reference/image-orientation-from-image-ref.html">
      9 <meta name="fuzzy" content="maxDifference=0-100; totalPixels=0-236">
     10 <style>
     11    body {
     12        overflow: hidden;
     13        image-orientation: from-image;
     14    }
     15    img {
     16        will-change: transform;
     17    }
     18    div {
     19        display: inline-block;
     20        width: 100px;
     21        vertical-align: top;
     22    }
     23 </style>
     24 </head>
     25 <body>
     26    <p>The images should rotate respecting their EXIF orientation because
     27       image-orientation: from-image is specified.</p>
     28    <div>
     29        <img src="support/exif-orientation-1-ul.jpg"/>
     30        <br>Normal
     31    </div>
     32    <div>
     33        <img src="support/exif-orientation-2-ur.jpg"/>
     34        <br>Flipped horizontally
     35    </div>
     36    <div>
     37        <img src="support/exif-orientation-3-lr.jpg"/>
     38        <br>Rotated 180&deg;
     39    </div>
     40    <div>
     41        <img src="support/exif-orientation-4-lol.jpg"/>
     42        <br>Flipped vertically
     43    </div>
     44    <div>
     45        <img src="support/exif-orientation-5-lu.jpg"/>
     46        <br>Rotated 90&deg; CCW and flipped vertically
     47    </div>
     48    <div>
     49        <img src="support/exif-orientation-6-ru.jpg"/>
     50        <br>Rotated 90&deg; CW
     51    </div>
     52    <div>
     53        <img src="support/exif-orientation-7-rl.jpg"/>
     54        <br>Rotated 90&deg; CW and flipped vertically
     55    </div>
     56    <div>
     57        <img src="support/exif-orientation-8-llo.jpg"/>
     58        <br>Rotated 90&deg; CCW
     59    </div>
     60    <div>
     61        <img src="support/exif-orientation-9-u.jpg"/>
     62        <br>Undefined (invalid value)
     63    </div>
     64 </body>
     65 </html>