mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 23:15:38 +00:00
Bug 1930230 [wpt PR 49072] - Nearest neighbor images should not use higher quality, a=testonly
Automatic update from web-platform-tests Nearest neighbor images should not use higher quality We recently fixed a bug [1] where the discardable image map was not preserving image quality values. This fix exposed a bug where nearest neighbor filtering would incorrectly re-use higher-quality images. Nearest neighbor filtering is used for `image-rendering: pixelated` and should not use higher-quality filtering. [1] https://crrev.com/0eb474d6793456826037bf33212ccba9da236402 Bug: 376304003 Change-Id: Icbf4f0640efbb065f32c95daa94144f82da39805 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6000966 Commit-Queue: Philip Rogers <pdr@chromium.org> Auto-Submit: Philip Rogers <pdr@chromium.org> Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1380505} -- wpt-commits: a0e2da634c7d60190696187fd07ee18484bb992c wpt-pr: 49072
This commit is contained in:
parent
0d51dbd336
commit
cd2939dfc9
@ -0,0 +1,3 @@
|
||||
<!doctype html>
|
||||
<img src="support/checkerboard.png" height="50">
|
||||
<img src="support/checkerboard.png" height="50">
|
@ -0,0 +1,6 @@
|
||||
<!doctype html>
|
||||
<title>image-rendering should apply to scaled images</title>
|
||||
<link rel=help href="https://drafts.csswg.org/css-images/#the-image-rendering">
|
||||
<link rel=mismatch href="image-rendering-mixed-scaled-notref.html">
|
||||
<img src="support/checkerboard.png" height="50">
|
||||
<img src="support/checkerboard.png" height="50" style="image-rendering: pixelated;">
|
Binary file not shown.
After Width: | Height: | Size: 304 B |
Loading…
x
Reference in New Issue
Block a user