Skip to content

Commit c49faa3

Browse files
committed
[css-images-3] Make image-rendering:pixelated work the same way in both directions, for simplicity.
1 parent 069a1bb commit c49faa3

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

css-images-3/Overview.bs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,10 +1936,8 @@ Determing How To Scale an Image: the 'image-rendering' property</h3>
19361936

19371937
<dt><dfn>pixelated</dfn>
19381938
<dd>
1939-
When scaling the image up in at least one dimension, the "nearest neighbor" or similar algorithm must be used,
1940-
so that the image appears to be simply composed of very large pixels.
1941-
Otherwise,
1942-
this is the same as <a value for=image-rendering>auto</a>.
1939+
The image must be scaled with the "nearest neighbor" or similar algorithm,
1940+
to preserve a "pixelated" look as the image changes in size.
19431941
</dl>
19441942

19451943
<p class='issue'>

css-images-3/Overview.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1817,10 +1817,8 @@ <h3 class="heading settled" data-level=5.3 id=the-image-rendering><span class=se
18171817

18181818
<dt><dfn class=css data-dfn-for=image-rendering data-dfn-type=value data-export="" id=valdef-image-rendering-pixelated>pixelated<a class=self-link href=#valdef-image-rendering-pixelated></a></dfn>
18191819
<dd>
1820-
When scaling the image up in at least one dimension, the "nearest neighbor" or similar algorithm must be used,
1821-
so that the image appears to be simply composed of very large pixels.
1822-
Otherwise,
1823-
this is the same as <a class=css data-link-for=image-rendering data-link-type=value href=#valdef-image-rendering-auto title=auto>auto</a>.
1820+
The image must be scaled with the "nearest neighbor" or similar algorithm,
1821+
to preserve a "pixelated" look as the image changes in size.
18241822
</dl>
18251823

18261824
<p class=issue id=issue-c0a2c82d><a class=self-link href=#issue-c0a2c82d></a>

0 commit comments

Comments
 (0)