[Webkit-unassigned] [Bug 246590] REGRESSION (r278062): Multiple backgrounds with "background-blend-mode: difference" breaks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 8 16:41:48 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=246590

Said Abou-Hallawa <sabouhallawa at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|REGRESSION (r291604):       |REGRESSION (r278062):
                   |Multiple backgrounds with   |Multiple backgrounds with
                   |"background-blend-mode:     |"background-blend-mode:
                   |difference" breaks          |difference" breaks

--- Comment #3 from Said Abou-Hallawa <sabouhallawa at apple.com> ---
I think this is a regression of r278062.

This revision replaced the call to GraphicsContextCG::setPlatformCompositeOperation() by GraphicsContext::setCompositeOperation() in GraphicsContextCG::drawPattern(). setCompositeOperation() is platform independent and should not be called from GraphicsContextCG methods. Instead we should be calling GraphicsContextCG::setCGBlendMode(). 

Note: r280095 fixed a similar problem in drawNativeImage().

-- 
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/20221109/0e9d8da3/attachment.htm>


More information about the webkit-unassigned mailing list