[webkit-changes] [WebKit/WebKit] a5c1c2: Shadows on split inlines don't respect -webkit-box...
Simon Fraser
noreply at github.com
Sat Mar 1 09:04:30 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a5c1c22754efeb8a9d7be348210c02b63a1b7f6e
https://github.com/WebKit/WebKit/commit/a5c1c22754efeb8a9d7be348210c02b63a1b7f6e
Author: Simon Fraser <simon.fraser at apple.com>
Date: 2025-03-01 (Sat, 01 Mar 2025)
Changed paths:
M LayoutTests/TestExpectations
M Source/WebCore/rendering/BackgroundPainter.cpp
Log Message:
-----------
Shadows on split inlines don't respect -webkit-box-decoration-break
https://bugs.webkit.org/show_bug.cgi?id=278391
rdar://134352347
Reviewed by Alan Baradlay.
Clip out the non-present ("closed") edges of box shadows on split inlines.
This fixes `css/css-backgrounds/box-shadow/slice-inline-fragmentation-003.html`.
slice-inline-fragmentation-001.html and slice-inline-fragmentation-002.html also
have improved behavior, but don't match the (questionable?) references.
* LayoutTests/TestExpectations:
* Source/WebCore/rendering/BackgroundPainter.cpp:
(WebCore::BackgroundPainter::paintBoxShadow const):
Canonical link: https://commits.webkit.org/291441@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list