Bug 56805

Summary: WebKit regression found in Cairo commit 937325d6640
Product: cairo Reporter: Sudarsana Nagineni <sudarsana.nagineni>
Component: generalAssignee: Chris Wilson <chris>
Status: RESOLVED NOTABUG QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium CC: dominik.rottsches
Version: 1.12.4   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Correct output of the first test
Incorrect output with the cairo commit 937325d6640
Cairo trace to reproduce the issue

Description Sudarsana Nagineni 2012-11-06 13:16:17 UTC
The following two webkit tests start failing after the cairo commit 937325d6640 - image: Perform the general composite operation inplace for mono rasterisation

fast/box-shadow/transform-fringing.html
fast/box-shadow/box-shadow-transformed.html
Comment 1 Sudarsana Nagineni 2012-11-06 13:20:03 UTC
Created attachment 69623 [details]
Correct output of the first test
Comment 2 Sudarsana Nagineni 2012-11-06 13:22:51 UTC
Created attachment 69624 [details]
Incorrect output with the cairo commit 937325d6640
Comment 3 Sudarsana Nagineni 2012-11-06 13:28:18 UTC
Created attachment 69625 [details]
Cairo trace to reproduce the issue

The trace is same before and after the commit, but the generated image output is different.
Comment 4 Chris Wilson 2013-01-08 16:26:04 UTC
This is what the trace thinks you want to render:

//ANTIALIAS_DEFAULT set-antialias
[] 0 set-dash
0.707107 0.707107 -0.707107 0.707107 111 75.289322 matrix transform
20 20 100 100 rectangle
//WINDING set-fill-rule
//ANTIALIAS_NONE set-antialias
clip
//WINDING set-fill-rule
//ANTIALIAS_DEFAULT set-antialias
-30.610173 -30.610173 200.818326 200.818326 rectangle
0 0 100 100 rectangle
//EVEN_ODD set-fill-rule
clip
//WINDING set-fill-rule
0 0 0 1 set-source-rgba
121 0 100 100 rectangle
fill

which is what you get.

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.