Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 863b0ce184ae27276da97c1b4e4a031a5977dda1
https://github.com/WebKit/WebKit/commit/863b0ce184ae27276da97c1b4e4a031a5977dda1
Author: Alexsander Borges Damaceno <[email protected]>
Date: 2026-02-06 (Fri, 06 Feb 2026)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-multiple-layers-table-cell-expected.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-multiple-layers-table-cell-ref.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-multiple-layers-table-cell.html
M Source/WebCore/rendering/RenderTableCell.cpp
Log Message:
-----------
Table cell background painting should check all background layers for
`background-clip: text`
https://bugs.webkit.org/show_bug.cgi?id=306974
Reviewed by Simon Fraser.
In commit 43fea43, solved problem that if `background-clip: text` was applied
to a table cell,
the background was being painted for the entire cell instead of only the text.
It currently checks only the first layer for search for `background-clip: text`,
but since a table cell can have multiple background layers, the code should
check all of them.
* Source/WebCore/rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::paintBackgroundsBehindCell):
*
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-multiple-layers-table-cell-expected.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-multiple-layers-table-cell-ref.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-multiple-layers-table-cell.html:
Added.
Canonical link: https://commits.webkit.org/306956@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications