Created attachment 130915 [details]
Patch includes test cases and expected results
Whenever we are going to draw a text box with decorations, WebKit clips out the
in side of the text box to prevent bleeding while filling patterns.
However, Cairo doesn't apply clips properly if the follwing conditions are satisfied:
(1) Creates and apply a path for the clipping out which is not rectanglar.
(2) Creates and apply a path for the cliping in after the clip out operation.
(3) The filling area of the clipping out and the filling area of the clipping in
does not intersect on the target surface.
I attached test cases for this bug and expected results.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/297.