Bug 17808 - <table width="0"> and table-layout:fixed causing misalignment of text
Summary: <table width="0"> and table-layout:fixed causing misalignment of text
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tables (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://celebs.walla.co.il/?w=/3603/12...
Keywords: HasReduction
Depends on: 17801
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-12 14:32 PDT by jasneet
Modified: 2022-10-13 07:29 PDT (History)
9 users (show)

See Also:


Attachments
screenshot (198.92 KB, image/jpeg)
2008-03-12 14:32 PDT, jasneet
no flags Details
reduction (385 bytes, text/html)
2008-03-12 14:33 PDT, jasneet
no flags Details
Safari 15.6 matches with other browsers (574.85 KB, image/png)
2022-08-13 10:25 PDT, Ahmad Saleem
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasneet 2008-03-12 14:32:05 PDT
I Steps:
http://celebs.walla.co.il/?w=/3603/1204141

II Issue:
Notice the alignment of headings of the column (where smaller images are placed in left column and text in right column). It is partially seen.

III Conclusion:
there are 2 issues: 
1. The headings are partially seen because of <table width="0">;  removing this property aligns the heading similar to FF. 
Issue: http://bugs.webkit.org/show_bug.cgi?id=17801

2. Only IE can render the headings of column correctly as IE recognizes {table-layout:fixed;} 
on removing {table-layout:fixed;} IE behaves same as FF/Safari
Therefore {table-layout:fixed;} is not recognized by FF/Safari

IV Other browsers:
IE7: ok
FF2: partially ok
Opera: partially ok

V Nightly tested: 30236
Comment 1 jasneet 2008-03-12 14:32:44 PDT
Created attachment 19712 [details]
screenshot
Comment 2 jasneet 2008-03-12 14:33:20 PDT
Created attachment 19713 [details]
reduction
Comment 3 Eric Seidel (no email) 2008-04-22 13:38:15 PDT
This seems to be some sort of quirk with IE ignoring width=0.  WebKit seems to treat width=0 literally.

Definitely we behave differently from FF and IE, I'm not sure who's behavior is correct however.
Comment 4 Ahmad Saleem 2022-08-13 10:25:01 PDT
Created attachment 461591 [details]
Safari 15.6 matches with other browsers

I am able to reproduce this bug in Safari 15.6 on macOS 12.5 using attached reduction and text looks mangled / mess (it is WOW bug IMO). Please see attached screenshot for reference. Thanks!
Comment 5 Ahmad Saleem 2022-10-13 07:29:05 PDT
Unable to reproduce this in Safari 16, STP 155, Chrome Canary 108 and Firefox Nightly 107.

Safari 16 now matches other browsers from my last reference screenshot.

Marking this as "RESOLVED CONFIGURATION CHANGED". Thanks!