Bug 73077

Summary: [CSS Filters] Filters do not render correctly when the layer has a transform
Product: WebKit Reporter: Alexandru Chiculita <achicu>
Component: Layout and RenderingAssignee: Alexandru Chiculita <achicu>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch V1 none

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.