[Webkit-unassigned] [Bug 198746] [cairo][SVG] If clipPath has multiple elements, clip-path doesn't work with transform

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 12 04:45:40 PDT 2019


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

--- Comment #5 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to Fujii Hironori from comment #4)
> Comment on attachment 371938 [details]
> WIP
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=371938&action=review
> 
> LGTM

It breaks other tests, though. I think I have a new patch that would also fix bug #198779, running the tests now.

> > Source/WebCore/platform/graphics/cairo/PlatformContextCairo.cpp:86
> > +    cairo_matrix_invert(&matrix);
> 
> You can remove this cairo_matrix_invert by negating.
>     cairo_matrix_init_translate(&matrix, -rect.x(), -rect.y());

Ok, even simpler indeed.

-- 
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/20190612/37fc2831/attachment-0001.html>


More information about the webkit-unassigned mailing list