Skip to content

Commit ea014a9

Browse files
committed
Make the ordering of image(), 'image-orientation', and Transforms explicit.
1 parent 8b95cef commit ea014a9

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

css3-images/Overview.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2225,6 +2225,16 @@ <h3 id=image-orientation><span class=secno>6.2. </span> Orienting an Image
22252225
rounded to -90deg), then moduloing the value by 1 turn (360deg, 400grad,
22262226
etc.).
22272227

2228+
<p>If the image itself is transformed in some way (for example, if the
2229+
content of an element is provided by the &lsquo;<code
2230+
class=css>image()</code>&rsquo; function with a directionality opposite
2231+
the element's directionality), the image's transformation must be applied
2232+
before &lsquo;<a href="#image-orientation0"><code
2233+
class=property>image-orientation</code></a>&rsquo; is. As well, &lsquo;<a
2234+
href="#image-orientation0"><code
2235+
class=property>image-orientation</code></a>&rsquo; must be applied before
2236+
any further transformation of the element, such as through CSS Transforms.
2237+
22282238
<p class=note>Note that in CSS, orientation data encoded in the image (e.g.
22292239
EXIF data) is ignored. <span class=issue>Is this an issue? What do
22302240
printers do?</span>

css3-images/Overview.src.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,6 +1509,8 @@ <h3 id="image-orientation">
15091509
(that is, 45deg is rounded to 90deg, while -45deg is rounded to -90deg), then
15101510
moduloing the value by 1 turn (360deg, 400grad, etc.).</p>
15111511

1512+
<p>If the image itself is transformed in some way (for example, if the content of an element is provided by the ''image()'' function with a directionality opposite the element's directionality), the image's transformation must be applied before 'image-orientation' is. As well, 'image-orientation' must be applied before any further transformation of the element, such as through CSS Transforms.</p>
1513+
15121514
<p class="note">Note that in CSS, orientation data encoded in the image
15131515
(e.g. EXIF data) is ignored. <span class="issue">Is this an issue? What
15141516
do printers do?</span>

0 commit comments

Comments
 (0)