Bug 133788 - Colgroups work differently with/without span
Summary: Colgroups work differently with/without span
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tables (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-12 00:36 PDT by David Gausmann
Modified: 2023-03-21 01:38 PDT (History)
1 user (show)

See Also:


Attachments
Example for the not matching tables (1.46 KB, text/html)
2014-06-12 00:36 PDT, David Gausmann
no flags Details

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