| Summary: | REGRESSION (r278062): Multiple backgrounds with "background-blend-mode: difference" breaks | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | brfrog7 | ||||
| Component: | Layout and Rendering | Assignee: | Said Abou-Hallawa <sabouhallawa> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bfulgham, sabouhallawa, simon.fraser, webkit-bug-importer, zalan | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 16 | ||||||
| Hardware: | iPhone / iPad | ||||||
| OS: | iOS 16 | ||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=228098 https://bugs.webkit.org/show_bug.cgi?id=226170 |
||||||
| Attachments: |
|
||||||
|
Description
brfrog7
2022-10-16 07:11:16 PDT
This happens on macOS also. 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(). Pull request: https://github.com/WebKit/WebKit/pull/6280 Committed 256578@main (9ffcb90d8fa7): <https://commits.webkit.org/256578@main> Reviewed commits have been landed. Closing PR #6280 and removing active labels. |