Bug 52705 - [Qt] GraphicsContext::strokePath() paints solid shadows with incorrect alpha
Summary: [Qt] GraphicsContext::strokePath() paints solid shadows with incorrect alpha
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2011-01-19 02:06 PST by Helder Correia
Modified: 2011-01-19 21:58 PST (History)
4 users (show)

See Also:

Patch (19.57 KB, patch)
2011-01-19 02:09 PST, Helder Correia
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helder Correia 2011-01-19 02:06:37 PST
This is related to bug 52611. The shadow color alpha must be multiplied by the context pen alpha. Fixing this results in correct behavior for Canvas path stroke() and strokeRect() [which relies on stroke()].
Comment 1 Helder Correia 2011-01-19 02:09:37 PST
Created attachment 79402 [details]
Comment 2 Andreas Kling 2011-01-19 13:43:32 PST
Comment on attachment 79402 [details]

r=me, let's hope nobody else chokes on the test :)
Comment 3 WebKit Commit Bot 2011-01-19 21:57:00 PST
The commit-queue encountered the following flaky tests while processing attachment 79402 [details]:

fast/spatial-navigation/snav-iframe-flattening-simple.html bug 52783 (author: tonikitoo@webkit.org)
The commit-queue is continuing to process your patch.
Comment 4 WebKit Commit Bot 2011-01-19 21:57:59 PST
Comment on attachment 79402 [details]

Clearing flags on attachment: 79402

Committed r76206: <http://trac.webkit.org/changeset/76206>
Comment 5 WebKit Commit Bot 2011-01-19 21:58:05 PST
All reviewed patches have been landed.  Closing bug.