Branch: refs/heads/webkitglib/2.50
Home: https://github.com/WebKit/WebKit
Commit: c5da34449d87b080165758203fbd875875c25823
https://github.com/WebKit/WebKit/commit/c5da34449d87b080165758203fbd875875c25823
Author: Matt Woodrow <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
A LayoutTests/css3/filters/filter-and-opacity-on-bitmap-2-expected.html
A LayoutTests/css3/filters/filter-and-opacity-on-bitmap-2.html
A LayoutTests/css3/filters/filter-and-opacity-on-bitmap-expected.html
A LayoutTests/css3/filters/filter-and-opacity-on-bitmap.html
M Source/WebCore/rendering/RenderLayerInlines.h
Log Message:
-----------
Cherry-pick 300549@main (f06618676171).
https://bugs.webkit.org/show_bug.cgi?id=299270
REGRESSION (296827@main): Opacity/filter render incorrectly.
https://bugs.webkit.org/show_bug.cgi?id=299270
<rdar://problem/161130683>
Reviewed by Said Abou-Hallawa.
The canPaintTransparencyWithSetOpacity optimization only works if we have a
single bitmap paint that the opacity can be passed to. When combined with a
filter effect that pushes a transparency layer, it no longer has any effect.
Test: css3/filters/filter-and-opacity-on-bitmap.html
* LayoutTests/css3/filters/filter-and-opacity-on-bitmap-expected.html:
Added.
* LayoutTests/css3/filters/filter-and-opacity-on-bitmap.html: Added.
* LayoutTests/css3/filters/filter-and-opacity-on-bitmap-2-expected.html:
Added.
* LayoutTests/css3/filters/filter-and-opacity-on-bitmap-2.html: Added.
* Source/WebCore/rendering/RenderLayerInlines.h:
(WebCore::RenderLayer::canPaintTransparencyWithSetOpacity const):
Canonical link: https://commits.webkit.org/300549@main
Canonical link: https://commits.webkit.org/298234.160@webkitglib/2.50
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes