Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3cad02c9f18f2189c456f70dacf3102bfa828fcf
https://github.com/WebKit/WebKit/commit/3cad02c9f18f2189c456f70dacf3102bfa828fcf
Author: Ahmad Saleem <[email protected]>
Date: 2026-01-05 (Mon, 05 Jan 2026)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/css/css-tables/column-track-merging-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/css/css-tables/tentative/colgroup-col-expected.txt
M
LayoutTests/platform/glib/tables/mozilla_expected_failures/core/cols1-expected.txt
M
LayoutTests/platform/ios/tables/mozilla_expected_failures/core/cols1-expected.txt
M
LayoutTests/platform/mac/tables/mozilla_expected_failures/core/cols1-expected.txt
M Source/WebCore/rendering/AutoTableLayout.cpp
Log Message:
-----------
Col elements with span > 1 don't apply width to spanned columns
https://bugs.webkit.org/show_bug.cgi?id=304719
rdar://167225435
Reviewed by Alan Baradlay.
This patch aligns WebKit with Gecko / Firefox and Blink / Chromium.
When a <col> element has span > 1, its width (or inherited colgroup
width) should apply to all columns it spans. Previously, only cols
with span=1 had their widths applied, causing cols with larger spans
to be ignored during table layout width calculation.
* Source/WebCore/rendering/AutoTableLayout.cpp:
(WebCore::AutoTableLayout::fullRecalc):
> Progression:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-tables/tentative/colgroup-col-expected.txt:
Progression
*
LayoutTests/platform/mac/tables/mozilla_expected_failures/core/cols1-expected.txt:
Now matches other browser engines
*
LayoutTests/platform/ios/tables/mozilla_expected_failures/core/cols1-expected.txt:
Ditto
*
LayoutTests/platform/glib/tables/mozilla_expected_failures/core/cols1-expected.txt:
Ditto
> Rebaseline:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-tables/column-track-merging-expected.txt:
Seems more closer to expected now.
Canonical link: https://commits.webkit.org/305113@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications