fixed width cell causes clickable region outside table

RESOLVED WORKSFORME

Status

()

Core
Layout: Tables
RESOLVED WORKSFORME
13 years ago
8 years ago

People

(Reporter: Charles Eubanks, Unassigned)

Tracking

({testcase})

Trunk
x86
Windows XP
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

The following HTML shows the problem
<html>

<body>

<table border="1" cellpadding="0" cellspacing="0"
style="width:600px;height:200px;background-color:blue;">
<tr>
<td style="width:200px;background-color:purple;">
</td>
<td style="width:400px;" valign="top">
<div id=outerDiv
style="width:100%;height:100%;position:relative;background-color:orange;">
<div style="top:0;width:200px;left:0;position:absolute;">
text text text<br>
text text text<br>
text text text<br>
text text text
</div>
<div style="top:0;width:200px;left:200px;position:absolute;">
more more more<br>
more more more
</div>
</div>
</td>
</tr>
</table>
<br>
Single clicking in the first 200 or so pixels to the right of the orange box
will select the text inside of the orange box.<p>
Adding "overflow:hidden;" to "outerDiv" div or removing the "position:absolute;"
styles will stop the behavior<p>
Varying to position of the entire table on the page affects the click area. For
example, adding lines above the table moves the
invisible click area below the top of the table.

</body>
</html>

Reproducible: Always

Steps to Reproduce:
1.Load included HTML
2.click to the right of the table


Actual Results:  
the text in the table cell is selected

Expected Results:  
no selection should occur

Comment 1

13 years ago
Created attachment 180410 [details]
reporter's testcase

clicking to the right of the orange box selects text inside the box.

seen with Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050329

Updated

13 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Should probably depend on the bug on fixing event dispatch coords....

Comment 5

9 years ago
wfm?

Comment 6

8 years ago
> wfm?

Yes
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.