RESOLVED FIXED Bug 83960
[CSS Filters] Do not use clipping rect when calculating the bounds of a layer
https://bugs.webkit.org/show_bug.cgi?id=83960
Summary [CSS Filters] Do not use clipping rect when calculating the bounds of a layer
Alexandru Chiculita
Reported 2012-04-13 16:38:24 PDT
WebKit should not clip the bounding box of a layer when it draws it into a memory buffer in order to compute the CSS Filter for it. That's because the drop-shadow or blur effects might reference pixels outside the initial clipping box. This should fix the results for two tests that are already checked in: LayoutTests/css3/filters/filter-repaint-shadow-clipped.html LayoutTests/css3/filters/filter-repaint-shadow-rotated.html
Attachments
Patch V1 (5.92 KB, patch)
2012-04-13 17:29 PDT, Alexandru Chiculita
simon.fraser: review+
simon.fraser: commit-queue-
Alexandru Chiculita
Comment 1 2012-04-13 17:29:59 PDT
Created attachment 137184 [details] Patch V1
Simon Fraser (smfr)
Comment 2 2012-04-13 17:36:27 PDT
Comment on attachment 137184 [details] Patch V1 View in context: https://bugs.webkit.org/attachment.cgi?id=137184&action=review > Source/WebCore/ChangeLog:14 > + No new tests added in this patch, but this patch fixes two existing tests that fail. > + LayoutTests/css3/filters/filter-repaint-shadow-clipped.html > + LayoutTests/css3/filters/filter-repaint-shadow-rotated.html Do these tests need to be unskipped or given new pixel results?
Gyuyoung Kim
Comment 3 2012-04-13 19:50:09 PDT
Gustavo Noronha (kov)
Comment 4 2012-04-13 20:45:06 PDT
Collabora GTK+ EWS bot
Comment 5 2012-04-13 23:07:36 PDT
Alexandru Chiculita
Comment 6 2012-04-17 17:10:54 PDT
I need to also update the #else branch. I will do that before committing.
Alexandru Chiculita
Comment 7 2012-04-18 09:36:50 PDT
(In reply to comment #2) > (From update of attachment 137184 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=137184&action=review > > > Source/WebCore/ChangeLog:14 > > + No new tests added in this patch, but this patch fixes two existing tests that fail. > > + LayoutTests/css3/filters/filter-repaint-shadow-clipped.html > > + LayoutTests/css3/filters/filter-repaint-shadow-rotated.html > > Do these tests need to be unskipped or given new pixel results? The results seem to be up-to-date and no failure in Skipped tests were added.
Alexandru Chiculita
Comment 8 2012-04-18 09:37:04 PDT
Note You need to log in before you can comment on or make changes to this bug.