Skip to content

Commit a4b5b28

Browse files
committed
[css-images-3] Add 'none' keyword, mark angles as deprecated. Per WG resolution https://lists.w3.org/Archives/Public/www-style/2017May/0051.html #2726
1 parent f38fc86 commit a4b5b28

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

css-images-3/Overview.bs

+13-4
Original file line numberDiff line numberDiff line change
@@ -1422,12 +1422,12 @@ Image Processing {#image-processing}
14221422

14231423
<pre class='propdef'>
14241424
Name: image-orientation
1425-
Value: from-image | <<angle>> | [ <<angle>>? flip ]
1426-
Initial: 0deg
1425+
Value: none | from-image | <<angle>> | [ <<angle>>? flip ]
1426+
Initial: none
14271427
Applies to: all elements
14281428
Inherited: yes
14291429
Media: visual
1430-
Computed value: an <<angle>>, rounded and normalized (see text), plus optionally a ''flip'' keyword
1430+
Computed value: the specified keyword, or an <<angle>>, rounded and normalized (see text), plus optionally a ''flip'' keyword
14311431
Animatable: no
14321432
</pre>
14331433

@@ -1443,9 +1443,16 @@ Image Processing {#image-processing}
14431443
* The height (width) property applies to the vertical (horizontal) dimension of the image,
14441444
<em>after</em> rotation.
14451445

1446+
Values other than ''image-orientation/none'' and ''from-image'' are
1447+
<em>optional</em> to implement and <em>deprecated</em> in CSS.
14461448
Values have the following meanings:
14471449

14481450
<dl dfn-type=value dfn-for=image-orientation>
1451+
<dt><dfn>none</dfn>
1452+
<dd>
1453+
No additional rotation is applied:
1454+
the image is oriented as encoded.
1455+
14491456
<dt><dfn>from-image</dfn>
14501457
<dd>
14511458
If the image has an orientation specified in its metadata,
@@ -1818,7 +1825,9 @@ Changes Since the <a href="https://www.w3.org/TR/2012/CR-css3-images-20120417/">
18181825

18191826
- The <css>image()</css> notation has been deferred to Level 4.
18201827
- The <css>image-resolution</css> property has been deferred to Level 4
1821-
- The 'image-orientation' property has been marked as At-Risk.
1828+
- The 'image-orientation' property has been marked as At-Risk,
1829+
the ''from-image'' and ''image-orientation/none'' keywords,
1830+
and the <<angle>> values deprecated.
18221831
- Added the 'image-rendering' property
18231832
- Added the ''cross-fade()'' notation
18241833
- Defined <a href="#interpolation">Interpolation</a>

0 commit comments

Comments
 (0)