[Webkit-unassigned] [Bug 177037] "background-repeat: repeat" incompatible with "image-rendering: pixelated"
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 28 20:46:54 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=177037
Karl Dubost <karlcow at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |karlcow at apple.com
--- Comment #18 from Karl Dubost <karlcow at apple.com> ---
On https://bugs.webkit.org/show_bug.cgi?id=271774#c1
Some additional findings
There must be a code path which kind of ignore the computation for pixelated?
Maybe in https://searchfox.org/wubkat/rev/bbfd3d9efcbb9c24abb655b8759ee700ef5d5f34/Source/WebCore/rendering/ImageQualityController.cpp#117
https://codepen.io/chuckskoda/pen/mdgMxBm
This is happening as soon as background-size is going from 100% to 99.9999…%
Interestingly, this is not happening for bigger than 100%. 190% is perfectly pixelated.
For the 1st item.
div {
width: 128px;
aspect-ratio: 1;
image-rendering: pixelated;
background-repeat: repeat;
background-size: 100%;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAANElEQVR42mNAAv9RMBr4PzcEGaMoQgggJBE0VAEGxlTQwKACphFshAJkCRBGMYGgIwl6EwBFbk7XYvgRBQAAAABJRU5ErkJggg==);
}
The bluriness starts later:
background-size: 100%; OK
…
background-size: 99.7%; OK
background-size: 99.6%; blurry
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240329/5e5dc899/attachment.htm>
More information about the webkit-unassigned
mailing list