RESOLVED FIXED291514
Collapsed table first row width quirk
https://bugs.webkit.org/show_bug.cgi?id=291514
Summary Collapsed table first row width quirk
Karl Dubost
Reported 2025-04-14 01:42:41 PDT
http://wpt.live/css/css-tables/collapsed-scroll-overflow.html https://wpt.fyi/results/css/css-tables/collapsed-scroll-overflow.html Right now this test fails in WebKit while passing in blink and Gecko assert_equals: The collapsed border does not exceed the scroll container. expected 500 but got 540 The test was the result of the discussion on https://github.com/w3c/csswg-drafts/issues/6230 which had this resolution from the CSS WG. RESOLVED: Accept current Tables 3 spec text regarding calculation of shared borders in collapsed-border mode between table and cells. It was initially referring to https://www.w3.org/TR/2011/REC-CSS2-20110607/tables.html#collapsing-borders > UAs must compute an initial left and right border width for the table by examining the first and last cells in the first row of the table. The left border width of the table is half of the first cell's collapsed left border, and the right border width of the table is half of the last cell's collapsed right border. If subsequent rows have larger collapsed left and right borders, then any excess spills into the margin area of the table. This created issues for Chrome in https://issues.chromium.org/issues/40515515 https://crbug.com/1200116 It was fixed on chromium by https://chromium.googlesource.com/chromium/src/+/bb1d2203d8dc3b89f34caa2dcd2ba2058795845e%5E%21/#F0
Attachments
rendering in safari, firefox, chrome (1.19 MB, image/png)
2025-04-14 01:45 PDT, Karl Dubost
no flags
Karl Dubost
Comment 1 2025-04-14 01:45:04 PDT
Created attachment 474908 [details] rendering in safari, firefox, chrome It currently fails in Safari pass in Firefox and Chrome
Radar WebKit Bug Importer
Comment 2 2025-04-21 01:43:13 PDT
Ahmad Saleem
Comment 3 2026-02-17 00:22:44 PST
EWS
Comment 4 2026-02-26 16:34:16 PST
Committed 308311@main (8f695151e326): <https://commits.webkit.org/308311@main> Reviewed commits have been landed. Closing PR #58844 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.