Bug 131303 - [GTK] canvas-composite-*-alpha.html tests failing since added
Summary: [GTK] canvas-composite-*-alpha.html tests failing since added
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 79659
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-07 09:27 PDT by Sergio Villar Senin
Modified: 2014-04-14 09:22 PDT (History)
1 user (show)

See Also:


Attachments
Stroke compositing test (12.17 KB, text/html)
2014-04-08 00:01 PDT, Dirk Schulze
no flags Details
WebKitGTK stroke compositing test (93.49 KB, image/png)
2014-04-08 00:22 PDT, Jae Hyun Park
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio Villar Senin 2014-04-07 09:27:55 PDT
Both
* fast/canvas/canvas-composite-stroke-alpha.html
* fast/canvas/canvas-composite-text-alpha.html

are failing on GTK bots since added.
Comment 1 Dirk Schulze 2014-04-07 22:15:01 PDT
I can not build Cairo graphics port. In the past, beginTransparencyLayer created a new paint mask for GraphicsContextCairo. This was basically doing what CG does: creating a new layer that is composited with an alpha value afterwards. I wonder why this would not work anymore. Could you send screenshots of https://developer.mozilla.org/samples/canvas-tutorial/6_1_canvas_composite.html please?
Comment 2 Dirk Schulze 2014-04-08 00:01:13 PDT
Created attachment 228811 [details]
Stroke compositing test

Sorry, please upload an image for the attached test.
Comment 3 Jae Hyun Park 2014-04-08 00:22:40 PDT
Created attachment 228816 [details]
WebKitGTK stroke compositing test

This is the screenshot of stroke compositing test that ran on MiniBrowser of WebKitGTK+.
Comment 4 Dirk Schulze 2014-04-08 06:31:45 PDT
(In reply to comment #3)
> Created an attachment (id=228816) [details]
> WebKitGTK stroke compositing test
> 
> This is the screenshot of stroke compositing test that ran on MiniBrowser of WebKitGTK+.

It looks like destination-atop and source-out improved by the patch. Source-in and destination-in are incorrect. Since the other cases work, it seems more like a bug in Cairo graphics.
Comment 5 Dirk Schulze 2014-04-14 09:22:56 PDT
fixed by the dependent bug.