image-orientation-from-image.html (1802B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Images Module Level 3: image-orientation: from-image</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 div { 16 display: inline-block; 17 width: 100px; 18 vertical-align: top; 19 } 20 </style> 21 </head> 22 <body> 23 <p>The images should rotate respecting their EXIF orientation because 24 image-orientation: from-image is specified.</p> 25 <div> 26 <img src="support/exif-orientation-1-ul.jpg"/> 27 <br>Normal 28 </div> 29 <div> 30 <img src="support/exif-orientation-2-ur.jpg"/> 31 <br>Flipped horizontally 32 </div> 33 <div> 34 <img src="support/exif-orientation-3-lr.jpg"/> 35 <br>Rotated 180° 36 </div> 37 <div> 38 <img src="support/exif-orientation-4-lol.jpg"/> 39 <br>Flipped vertically 40 </div> 41 <div> 42 <img src="support/exif-orientation-5-lu.jpg"/> 43 <br>Rotated 90° CCW and flipped vertically 44 </div> 45 <div> 46 <img src="support/exif-orientation-6-ru.jpg"/> 47 <br>Rotated 90° CW 48 </div> 49 <div> 50 <img src="support/exif-orientation-7-rl.jpg"/> 51 <br>Rotated 90° CW and flipped vertically 52 </div> 53 <div> 54 <img src="support/exif-orientation-8-llo.jpg"/> 55 <br>Rotated 90° CCW 56 </div> 57 <div> 58 <img src="support/exif-orientation-9-u.jpg"/> 59 <br>Undefined (invalid value) 60 </div> 61 </body> 62 </html>