Use borderBoxRect instead of contentBoxRect for backdrop filter.
https://bugs.webkit.org/show_bug.cgi?id=145606
Reviewed by Simon Fraser.
Backdrop filter should use border box rect. It also needs to take css clip into account.
Source/WebCore:
Tests: css3/filters/backdrop/backdrop-filter-with-cliprect.html
css3/filters/backdrop/backdrop-filter-with-mask.html
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateBackdropFiltersGeometry):
LayoutTests:
* css3/filters/backdrop/backdrop-filter-does-not-size-properly-border-and-padding-expected.txt:
* css3/filters/backdrop/backdrop-filter-with-cliprect-expected.txt: Added.
* css3/filters/backdrop/backdrop-filter-with-cliprect.html: Added.
* css3/filters/backdrop/backdrop-filter-with-mask-expected.txt: Added.
* css3/filters/backdrop/backdrop-filter-with-mask.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@185192 268f45cc-cd09-0410-ab3c-d52691b4dbfc
8 files changed