Skip to content

Commit 11e693b

Browse files
committed
[css-images] Add issue to image-orientation about simplifying or deprecating the property. Add EXIF auto-orientation.
1 parent 855f377 commit 11e693b

File tree

2 files changed

+69
-44
lines changed

2 files changed

+69
-44
lines changed

css-images/Overview.bs

+12-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Editor: fantasai, Mozilla, http://fantasai.inkedblade.net/contact
1212
Abstract: This module contains the features of CSS level 4 relating to the <<image>> type and replaced elements. It includes and extends the functionality of CSS Image Values and Replaced Content Module Level 3. The main extensions compared to level&nbsp;3 are several additions to the <<image>> type, additions to the <<gradient>> type, extentions to the ''image()'' function, definitions for interpolating several <<image>> types, and several properties controlling the interaction of replaced elements and CSS's layout models.
1313
!Issue Tracking: <a href="http://www.w3.org/Style/CSS/Tracker/products/27">http://www.w3.org/Style/CSS/Tracker/products/27</a>
1414
Previous Version: http://www.w3.org/TR/2012/WD-css4-images-20120911/
15-
Ignored Terms: <offset>, background positioning area, border image area, <meetorslice>, <ending-shape>, Map
15+
Ignored Terms: <offset>, background positioning area, border image area, <meetorslice>, <ending-shape>, Map, <position>
1616
Link Defaults: css21 (property) display, css-values-3 (type) <position>
1717
</pre>
1818

@@ -181,6 +181,9 @@ Image Fallbacks and Annotations: the ''image()'' notation</h3>
181181

182182
<li>
183183
use a solid color as an image
184+
185+
<li>
186+
automatically respect the image orientation specified in the image's metadata
184187
</ul>
185188

186189
The ''image()'' notation is defined as:
@@ -198,6 +201,11 @@ Image Fallbacks and Annotations: the ''image()'' notation</h3>
198201
(as described in Values &amp; Units [[!CSS3VAL]])
199202
when a specified ''image()'' value is computed.
200203

204+
If the image has an orientation specified in its metadata,
205+
such as EXIF,
206+
the UA must rotate or flip the image to correctly orient it
207+
as the metadata specifies.
208+
201209
<h4 id="image-fragments">
202210
Image Fragments</h4>
203211

@@ -2613,6 +2621,9 @@ Overriding Image Resolutions: the 'image-resolution' property</h3>
26132621
<h3 id="the-image-orientation">
26142622
Orienting an Image on the Page: the 'image-orientation' property</h3>
26152623

2624+
Issue: This property is likely going to be deprecated and its functionality moved to HTML.
2625+
At minimum, it will likely lose all but its initial value and ''from-image''.
2626+
26162627
If a picture is taken with a camera turned on its side,
26172628
or a document isn't positioned correctly within a scanner,
26182629
the resultant image may be "sideways" or even upside-down.

0 commit comments

Comments
 (0)