| Summary: | The filter() function doesn't work with CSS gradients | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | ana.tudor.lhnh |
| Component: | CSS | Assignee: | Tim Nguyen (:ntim) <ntim> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | ntim, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/37800 | ||
|
Description
ana.tudor.lhnh
2023-01-08 10:30:58 PST
If I comment out these 2 lines, it seems to work: https://searchfox.org/wubkat/rev/c9fdb2c5fbdab38f8db4b0fe8a8f34f6801f2035/Source/WebCore/rendering/style/StyleGradientImage.cpp#191-192 Seems like a bug with StyleGradientImage::image(). https://searchfox.org/wubkat/rev/c9fdb2c5fbdab38f8db4b0fe8a8f34f6801f2035/Source/WebCore/rendering/style/StyleCanvasImage.cpp#79 is also hit when using `filter()` with `-webkit-canvas()` I have a pretty straightforward fix for this. Pull request: https://github.com/WebKit/WebKit/pull/8387 Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/37800 |