Bug 186912

Summary: Fixed table don't use colgroup config if first row has colspan
Product: WebKit Reporter: Kvet <mpcteam.kvet>
Component: TablesAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, bugs.webkit, rniwa, simon.fraser, zalan
Priority: P2    
Version: Safari Technology Preview   
Hardware: All   
OS: All   
URL: https://jsfiddle.net/ghrv872p/
Attachments:
Description Flags
Safari 15.6.1 and STP 151 differ from other browsers none

Description Kvet 2018-06-22 00:54:47 PDT
Example URL:
https://jsfiddle.net/ghrv872p/

Steps to reproduce the problem:
1. Open attached URL
2. See Bad and Good examples

What is the expected behavior?
The first column in the Bad example should have zero width.

What went wrong?
The first column in the Bad example has incorrect width.

It works as expected in Edge and FireFox
Comment 1 Ahmad Saleem 2022-08-17 15:54:13 PDT
Created attachment 461699 [details]
Safari 15.6.1 and STP 151 differ from other browsers

I am able to reproduce this bug in Safari 15.6.1 and STP 151 as can be seen from attached screenshot using JSFiddle from Comment 0. Both Chrome Canary and Firefox Nightly match each other as can be seen from attached screenshot. Thanks!
Comment 2 Peter Gassner 2023-03-09 05:35:38 PST
A workaround for this bug is to use a very small width that is greater than zero, e.g. "0.0001px", for the column that should have a zero-width.

This being a solution indicates that zero-width columns are somehow not considered by the layout algorithm.