Bug 4339 - Safari: onclick not respecting td height
Summary: Safari: onclick not respecting td height
Status: RESOLVED DUPLICATE of bug 3662
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Dave Hyatt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-08 17:29 PDT by Will McCullough
Modified: 2005-08-09 12:11 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Will McCullough 2005-08-08 17:29:37 PDT
When using td height with an onclick in the td, the area of the click is not respecting the height.  It will 
respect only the area wih content.  Example below:  

// example 1
		
		<table cellspacing="2" cellpadding="1" border="0" width="590">
			<tr>
				<td height="300" align="center" valign="top" background="http://
static.highend3d.com/dvdstoreimages/1/epick.jpg" onclick="location.href='link';" 
style="cursor:pointer;" title="test of a forum">
					<div style="color: white;">doesnt work</div>
				</td>
			</tr>
		</table>

// example 2

		<table cellspacing="2" cellpadding="1" border="0" width="590">
			<tr>
				<td style="height: 300px;" align="center" valign="top" background="http://
static.highend3d.com/dvdstoreimages/1/epick.jpg" onclick="location.href='link';" 
style="cursor:pointer;" title="test of a forum">
					<div style="color: white;">doesnt work</div>
				</td>
			</tr>
		</table>

// the hack used to force the td to height 300

<table cellspacing="2" cellpadding="1" border="0" width="590">
			<tr>
				<td height="300" align="center" valign="top" background="http://
static.highend3d.com/dvdstoreimages/1/epick.jpg" onclick="location.href='link';" 
style="cursor:pointer;" title="test of a forum">
					<div style="height: 300px;"><div style="color: white;">This works</div></
div>
				</td>
			</tr>
		</table>
Comment 1 Frido Ferdinand 2005-08-09 06:00:48 PDT
this is probably the same as #3662 ?
Comment 2 Dave Hyatt 2005-08-09 12:11:18 PDT

*** This bug has been marked as a duplicate of 3662 ***