Bug 73077 - [CSS Filters] Filters do not render correctly when the layer has a transform
Summary: [CSS Filters] Filters do not render correctly when the layer has a transform
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexandru Chiculita
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-24 06:24 PST by Alexandru Chiculita
Modified: 2011-11-28 23:55 PST (History)
2 users (show)

See Also:


Attachments
Patch V1 (41.84 KB, patch)
2011-11-24 08:08 PST, Alexandru Chiculita
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Chiculita 2011-11-24 06:24:41 PST
Filters are not applied correctly when the layer has a transform. The current behavior is that it applies the transform inside the "filter area" resulting in clipped graphics. Moreover, the rootLayer is always passed as being the filtered layer, which is wrong. When there's no transform applied, the rootLayer should be just propagated. Otherwise the clipped rects are calculated incorrectly and an assert fires.
Comment 1 Alexandru Chiculita 2011-11-24 06:25:11 PST
I think I have a fix for this one. I will post a patch soon.
Comment 2 Alexandru Chiculita 2011-11-24 08:08:17 PST
Created attachment 116514 [details]
Patch V1
Comment 3 Dean Jackson 2011-11-28 23:37:38 PST
Comment on attachment 116514 [details]
Patch V1

Thanks
Comment 4 WebKit Review Bot 2011-11-28 23:55:21 PST
Comment on attachment 116514 [details]
Patch V1

Clearing flags on attachment: 116514

Committed r101333: <http://trac.webkit.org/changeset/101333>
Comment 5 WebKit Review Bot 2011-11-28 23:55:25 PST
All reviewed patches have been landed.  Closing bug.