Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e0f76d9123e83226599f51f49151cbace4a07b23
https://github.com/WebKit/WebKit/commit/e0f76d9123e83226599f51f49151cbace4a07b23
Author: Taher Ali <[email protected]>
Date: 2026-06-18 (Thu, 18 Jun 2026)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/box-shadow-svg-root-fixed-position-expected.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/box-shadow-svg-root-fixed-position-ref.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/box-shadow-svg-root-fixed-position.html
M Source/WebCore/rendering/svg/legacy/LegacyRenderSVGRoot.cpp
Log Message:
-----------
box-shadow for fixed positioned SVG does not draw
https://bugs.webkit.org/show_bug.cgi?id=106011
rdar://97098951
Reviewed by Brent Fulgham.
LegacyRenderSVGRoot::layout() never called addVisualEffectOverflow(), so
box-shadow (and border-image, outline, filter outsets) was missing from
the SVG root's visual overflow. This is harmless in normal flow, but once
position:fixed/absolute makes the SVG a self-painting layer, the layer
clips to its bounds plus visual overflow and the shadow is clipped away.
Add the missing addVisualEffectOverflow() call, mirroring
RenderReplaced::layout().
*
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/box-shadow-svg-root-fixed-position-expected.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/box-shadow-svg-root-fixed-position-ref.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/box-shadow-svg-root-fixed-position.html:
Added.
* Source/WebCore/rendering/svg/legacy/LegacyRenderSVGRoot.cpp:
(WebCore::LegacyRenderSVGRoot::layout):
Canonical link: https://commits.webkit.org/315468@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications