[csswg-drafts] Collapsed table first row width quirk (#6230)

atotic has just created a new issue for https://github.com/w3c/csswg-drafts:

== Collapsed table first row width quirk ==
Chrome gets bug reports about incorrect table widths for tables with collapsed borders.
Examples: https://crbug.com/1200116 https://crbug.com/711360

The issue happens because per spec, width of the table in collapsed borders mode is determined by borders in the 1st row.
I could not find definition of this behavior in the latest spec, but here it is in the old spec:
https://www.w3.org/TR/2011/REC-CSS2-20110607/tables.html#collapsing-borders
"As 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.'

If the first row has no borders, this results in a behavior developers consider a bug.

What do you think about using all the rows to compute table size? I am not sure if this is web compatible, but it would increase developer happiness.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6230 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 21 April 2021 08:23:25 UTC