[webkit-changes] [WebKit/WebKit] 8411b7: backdrop filters should be applied to the border a...
Fujii Hironori
noreply at github.com
Thu Feb 15 13:12:28 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8411b7acd4159cb8fbe38025884e719c5531cdef
https://github.com/WebKit/WebKit/commit/8411b7acd4159cb8fbe38025884e719c5531cdef
Author: Fujii Hironori <Hironori.Fujii at sony.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
A LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/backdrop-filter-clip-rect-2-expected.html
A LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/backdrop-filter-clip-rect-2.html
M LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/backdrop-filter-clip-rect.html
M Source/WebCore/rendering/RenderLayerBacking.cpp
Log Message:
-----------
backdrop filters should be applied to the border area of the element with border-radius
https://bugs.webkit.org/show_bug.cgi?id=268278
Reviewed by Matt Woodrow.
Backdrop filters should be applied to the inside of border edge of the
element, not to the padding edge.
* LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/backdrop-filter-clip-rect-2-expected.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/backdrop-filter-clip-rect-2.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/backdrop-filter-clip-rect.html: Added fuzzy meta tag.
* Source/WebCore/rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateBackdropFiltersGeometry):
Use borderRoundedRect of renderBox instead of roundedBorderBoxRect.
Canonical link: https://commits.webkit.org/274757@main
More information about the webkit-changes
mailing list