Closed Bug 237458 Opened 21 years ago Closed 20 years ago

Weird selection display with floated table cell and above a div with large padding

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: martijn.martijn, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040302 Firefox/0.8.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040302 Firefox/0.8.0+ See upcoming testcase: The structure of the minimal testcase is this: <html><head> <style type="text/css"> div {padding-top:150px; } td {float:left; width:400px; } </style> </head> <body> <div></div> <table> <tr><td> Here the text </td></tr> </table> </body></html> The text in the table cell is hard to select, the selection display is not drawn very well. A check with the DOM inspectors shows the table cell box at the top of the document (including its children), while it's real position is 150px lower. Reproducible: Always Steps to Reproduce: 1.Select some text 2. See the dom inspector for the table cell 3. Actual Results: Weird selection display. Table cell box is placed too high in the dom inspector Expected Results: Good selection display. Table cell box in the dom inspector should show the same as in the browser display.
Attached file Testcase
Component: Layout: Floats → Layout: Tables
QA Contact: core.layout.floats → core.layout.tables
Whiteboard: DUPEME
Depends on: 233094
Fixed by checkin for bug 233094.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: