Summary: | The clip out operation does not work properly if the surface is smaller than the path for the clipping. | ||
---|---|---|---|
Product: | cairo | Reporter: | Gwang Yoon Hwang <yoon> |
Component: | image backend | Assignee: | Chris Wilson <chris> |
Status: | RESOLVED MOVED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | cedric.bellegarde, mcatanzaro |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=126124 | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Patch includes test cases 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. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
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.