Bug 22050 - overlapping of header image and links
Summary: overlapping of header image and links
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://www.spaziomotori.it/Contratti_...
Keywords: HasReduction, InRadar
Depends on:
Blocks:
 
Reported: 2008-11-03 11:38 PST by jasneet
Modified: 2022-08-29 14:22 PDT (History)
8 users (show)

See Also:


Attachments
reduced testcase (454 bytes, text/html)
2008-11-03 11:39 PST, jasneet
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasneet 2008-11-03 11:38:51 PST
I Steps:
Go to http://www.spaziomotori.it/Contratti_auto_moto.htm

II Issue:
overlapping of header image and links 

III Conclusion:
Code for quick reference:
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr><td>
<p><img src="" alt="" align="left" border="2" width="400" height="80" hspace="0"></p>
<div align="left">
	<table bgcolor="#ffcc66" border="2" cellpadding="0" cellspacing="1" 
width="57%" height="60">
		<tbody><tr>
			<td colspan="5" height="15">
			</td>
		</tr>
	</tbody></table>
</div>
</td></tr></tbody></table>

Issue is due to <p> tag. 
<p> tag outside image tag does nothing in IE, shifts the table a little down in FF 
and moves the table to left in Safari/Chrome. Removing paragraph tag solves the 
issue.

IV Other Browsers:
IE7: ok
FF3: ok

V Nightly tested: 37819
Comment 1 jasneet 2008-11-03 11:39:53 PST
Created attachment 24860 [details]
reduced testcase
Comment 2 Jon@Chromium 2008-11-05 09:31:28 PST
Originated in Chromium bug tracker: http://code.google.com/p/chromium/issues/detail?id=1271
Comment 3 Ahmad Saleem 2022-08-29 04:57:19 PDT
All three browsers differ in behavior:

*** Safari Technology Preview 152 ***

Yellow / Pale color container is above other box and matching half-way

*** Chrome Canary 107 ***

Yellow / Pale color container is matching top border with each other on y-axis 

*** Firefox Nightly 106 ***

Yellow / Pale color container is center of other container and does not match from top border or bottom border

_________

I am going to change status to "New" so someone can confirm which browser beahvior is correct or aligned with web-spec. Thanks!
Comment 4 Radar WebKit Bug Importer 2022-08-29 14:22:02 PDT
<rdar://problem/99295700>