Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 953517109c9097f332fb3c67a4e7db9d670e5efc
https://github.com/WebKit/WebKit/commit/953517109c9097f332fb3c67a4e7db9d670e5efc
Author: Sam Weinig <[email protected]>
Date: 2026-10-02 (Fri, 02 Oct 2026)
Changed paths:
A LayoutTests/fast/images/cross-fade-image-rendering-pixelated-expected.html
A LayoutTests/fast/images/cross-fade-image-rendering-pixelated.html
M Source/WebCore/rendering/RenderImage.cpp
M Source/WebCore/style/values/images/kinds/StyleCrossfadeImage.cpp
M Source/WebCore/style/values/images/kinds/StyleCrossfadeImage.h
Log Message:
-----------
[Image Redux] Generated images (e.g. cross-fade()) in a CSS content property
don't have correct decoding mode or interpolation quality set
https://bugs.webkit.org/show_bug.cgi?id=326087
Reviewed by Alan Baradlay.
Use the Style::Image paths for decoding mode and interpolation quality for
RenderImage drawing to make
generated images used with the CSS `content` property work correctly.
Also implements interpolationQualityForImageDraw for Style::CrossfadeImage to
make it pick appropriate
values and making the `image-rendering` apply correctly (which is tested in the
new layout test).
Test: fast/images/cross-fade-image-rendering-pixelated.html
* LayoutTests/fast/images/cross-fade-image-rendering-pixelated-expected.html:
Added.
* LayoutTests/fast/images/cross-fade-image-rendering-pixelated.html: Added.
* Source/WebCore/rendering/RenderImage.cpp:
* Source/WebCore/style/values/images/kinds/StyleCrossfadeImage.cpp:
* Source/WebCore/style/values/images/kinds/StyleCrossfadeImage.h:
Canonical link: https://commits.webkit.org/322533@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications