Closed Bug 125267 Opened 23 years ago Closed 23 years ago

Iframe height is ignored

Categories

(Core :: Layout: Tables, defect)

defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 131020
mozilla1.2alpha

People

(Reporter: hancik, Assigned: karnaze)

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8+) Gecko/20020213 BuildID: 20020213 When is iframe object in two tables, height parameter in % is ignored. Check this code: <html> <body> <table border="1" width="100%" height="100%"> <tr><td> <table border="1" width="100%" height="100%"> <tr><td> <iframe src="http://www.mozilla.org" width="100%" height="100%"></iframe> </td></tr></table> </td></tr></table> </body> </html> When you remove one table, works iframe perfectly. When is height in iframe object set in pixels, works it too. Thanks for great job on Mozilla! hanc Reproducible: Always Steps to Reproduce: Check code example. Actual Results: Iframe is displayed like only slim window. Expected Results: :) 100% view
HTML tables.... We need to special-case some more here, I guess, just like for the one-table case....
Assignee: trudelle → karnaze
Status: UNCONFIRMED → NEW
Component: XP Apps → HTMLTables
Ever confirmed: true
QA Contact: sairuh → amar
Are you able to reproduce this problem ? Right behaviour is in case: <html> <body> <table border="1" width="100%" height="100%"> <tr><td> <iframe src="http://www.mozilla.org" width="100%" height="100%"></iframe> </td></tr></table> </body> </html> Incorrect in case described in previous comment.
Target Milestone: --- → mozilla1.2
Attached file testcase
Attachment #74910 - Attachment mime type: text/plain → text/html
Status: NEW → ASSIGNED
Depends on: 131020
*** This bug has been marked as a duplicate of 131020 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
No longer depends on: 131020
Resolution: --- → DUPLICATE
Verified Dupe.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: