Bug 186912 - Fixed table don't use colgroup config if first row has colspan
Summary: Fixed table don't use colgroup config if first row has colspan
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tables (show other bugs)
Version: Safari Technology Preview
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: https://jsfiddle.net/ghrv872p/
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-22 00:54 PDT by Kvet
Modified: 2023-03-09 05:35 PST (History)
7 users (show)

See Also:


Attachments
Safari 15.6.1 and STP 151 differ from other browsers (592.98 KB, image/png)
2022-08-17 15:54 PDT, Ahmad Saleem
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.