Bug 133788

Summary: Colgroups work differently with/without span
Product: WebKit Reporter: David Gausmann <David.Gausmann>
Component: TablesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Example for the not matching tables none

Description David Gausmann 2014-06-12 00:36:47 PDT
Created attachment 232935 [details]
Example for the not matching tables

Some of mine colleagues reported to me that two tables doesn't fit in browsers with Webkit engine in an internal website.
I found out that this is a bug, which depends on the usage of colgroups and the span attribute.

In browsers like Firefox, Internet Explorer, ... the following two definitions are equal:
<colgroup>
  <col style="width:4em" span="3">
</colgroup>

<colgroup>
  <col style="width:4em">
  <col style="width:4em">
  <col style="width:4em">
</colgroup>

In Webkit they aren't. Instead the widths are calculated differently.
Comment 1 Ahmad Saleem 2023-03-20 18:36:30 PDT
I am not able to reproduce this bug in Safari Technology Preview 165, Chrome Canary 113 and Firefox Nightly 113. All render this same.

Can we mark this as “RESOLVED CONFIGURATION CHANGED”? Thanks!
Comment 2 David Gausmann 2023-03-21 01:38:29 PDT
I cannot reproduce this bug today.
It must have been fixed in the last nine years.