Bug 17659

Summary: Overlapping of div and table when table width is defined
Product: WebKit Reporter: jasneet <jasneet>
Component: TablesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, jasneet, mitz, rniwa, simon.fraser, zalan
Priority: P2 Keywords: HasReduction
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
reduction
none
Safari 15.5 matches other browsers none

Description jasneet 2008-03-03 17:33:42 PST
I Steps:
Go to
the attached reduced test case

II Issue:
The table with list A,B,C and div (with column 1 and column 2) are overlapping.

III Conclusion: It seems that the width property defined in <table width="98%" cellspacing="1" cellpadding="4" border="0"> is causing the overlapping of div and table.This issue gets resolved in Safari when width property of table is left undefined.


IV Other browsers: 
FF2: ok
Opera: not ok
IE 7: not ok

V Nightly tested: 30236
Comment 1 jasneet 2008-03-03 17:37:38 PST
Created attachment 19510 [details]
reduction
Comment 2 mitz 2008-03-03 22:08:51 PST
I don't see that the width of any of the tables in the reduction is specified.
Comment 3 jasneet 2008-03-04 11:46:49 PST
(In reply to comment #0)
> I Steps:
> Go to
> the attached reduced test case
> 
> II Issue:
> The table with list A,B,C and div (with column 1 and column 2) are overlapping.
> 
> III Conclusion: It seems that the width property defined in <table width="98%"
> cellspacing="1" cellpadding="4" border="0"> is causing the overlapping of div
> and table.This issue gets resolved in Safari when width property of table is
> left undefined.
> 
> 
> IV Other browsers: 
> FF2: ok
> Opera: not ok
> IE 7: not ok
> 
> V Nightly tested: 30236
> 

(In reply to comment #2)
> I don't see that the width of any of the tables in the reduction is specified.
> 

Revising the Conclusion: when width: 250px is removed for the table(width is left undefined); no overlapping is seen. Safari/FF/IE/Opera behave the same way.
Comment 4 Ahmad Saleem 2022-08-13 10:10:09 PDT
Created attachment 461587 [details]
Safari 15.5 matches other browsers

I am not able to reproduce this bug in Safari 15.6 using attached reduction and as can be seen from attached screenshot, all browsers match with each other. I am going to mark this as "RESOLVED CONFIGURATION CHANGED". Please reopen, if you think it is reproducible. Thanks!