tor-browser

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

image-orientation-none-content-images.html (2626B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Images Module Level 3: image-orientation: none for content images</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-none-content-images-ref.html">
      9 <meta name=fuzzy content="0-5;0-150">
     10 <style>
     11    div.image {
     12        display: inline-block;
     13    }
     14    div.container {
     15        display: inline-block;
     16        width: 100px;
     17        vertical-align: top;
     18        image-orientation: none;
     19    }
     20    img {
     21        width: 100px;
     22        height: 100px;
     23        background-repeat: no-repeat;
     24    }
     25    body {
     26        overflow: hidden;
     27    }
     28 </style>
     29 </head>
     30 <body>
     31    <p>The images should not rotate respecting their EXIF orientation because
     32       image-orientation: none is specified.</p>
     33    <div class="container">
     34        <div class="image" style="content: url(support/exif-orientation-1-ul.jpg)"></div>
     35    </div>
     36    <div class="container">
     37        <div class="image" style="content: url(support/exif-orientation-2-ur.jpg)"></div>
     38    </div>
     39    <div class="container">
     40        <div class="image" style="content: url(support/exif-orientation-3-lr.jpg)"></div>
     41    </div>
     42    <div class="container">
     43        <div class="image" style="content: url(support/exif-orientation-4-lol.jpg)"></div>
     44    </div>
     45    <br>
     46    <div class="container">
     47        <div class="image" style="content: url(support/exif-orientation-5-lu.jpg)"></div>
     48    </div>
     49    <div class="container">
     50        <div class="image" style="content: url(support/exif-orientation-6-ru.jpg)"></div>
     51    </div>
     52    <div class="container">
     53        <div class="image" style="content: url(support/exif-orientation-7-rl.jpg)"></div>
     54    </div>
     55    <div class="container">
     56        <div class="image" style="content: url(support/exif-orientation-8-llo.jpg)"></div>
     57    </div>
     58    <br>
     59    <div class="container">
     60        <img style="background-image: url(support/exif-orientation-5-lu.jpg)"></img>
     61    </div>
     62    <div class="container">
     63        <img style="background-image: url(support/exif-orientation-6-ru.jpg)"></img>
     64    </div>
     65    <div class="container">
     66        <img style="background-image: url(support/exif-orientation-7-rl.jpg)"></img>
     67    </div>
     68    <div class="container">
     69        <img style="background-image: url(support/exif-orientation-8-llo.jpg)"></img>
     70    </div>
     71    <br>
     72    <div class="container">
     73        <div class="image" style="content: url(support/exif-orientation-9-u.jpg)"></div>
     74    </div>
     75 </body>
     76 </html>