Closed Bug 284684 Opened 21 years ago Closed 19 years ago

bad iframe positioning

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dornick, Unassigned)

Details

(Keywords: testcase)

Attachments

(3 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1 When I create an iframe in a table cell and set the height to 100%, it works fine. However, when I put anything above the iframe, in the same cell, the iframe retains its original size and becomes slightly displaced over the bottom edge of the cell, blocking the content of that cell. Another erroneous side effect is that unless you specify the vertical alignment of the cell to "top", the text you added also gets pushed partially out of the cell. Reproducible: Always Steps to Reproduce: 1. Make a table 2. Create an iframe in the first cell, and set the height property to 100% 3. Add something else to the same cell above the frame. Actual Results: You can see that the iframe is "pushed" down into a lower cell of the table. Expected Results: The iframe should have only extended to the border of the cell.
Attached image Picture of the bug
The source of the "blank.html" that the Iframe refers to is simply: <html> <body bgcolor="ffffff"> </body> </html>
Assignee: firefox → nobody
Component: General → Layout
Keywords: testcase
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → Trunk
In this version, the iframe source points to the blank.html attachment so that the problem can exactly be reproduced when loading the page from bugzilla.
Attachment #176192 - Attachment is obsolete: true
WFM Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060512 Minefield/3.0a1 Text no longer obscured, please reopen if you can reproduce with a nightly build
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: