Closed Bug 136067 Opened 24 years ago Closed 23 years ago

IFRAME overflows DIV boundaries

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: kevinar18, Assigned: john)

Details

(Keywords: testcase)

Attachments

(2 files)

From Bugzilla Helper: BuildID: 2002040303 When inserting an iframe within a DIV, the iframe overflows the boundaries of the div. Reproducible: Always Steps to Reproduce: 1. Place an iframe within a div tag. 2. View page Actual Results: Iframe overflows boundaries of div Expected Results: IFRAME should be contained withing the boundaries of the DIV I will submit an attachment that demonstrates this bug.
Attached file iframe within div
->HTML Frames
Assignee: karnaze → jkeiser
Component: HTMLTables → HTMLFrames
Keywords: testcase
It looks to me like it is taking up the padding/border space given to the div. I am not sure whether this is a bug or not.
I'll try a testcase on padding/border later. Even if it is, that does not seem the proper way to do it. It should only be within the contents and not overlapping the padding/border correct?
Well, I tested it by making sure the border and padding were removed and it didn't change anything. This new attachment looks the same in Mozilla. I'm thinking it has to do with the internal border and/or padding of the iframe itself, but I don't know how to remove that.
Oops, seems I uploaded the file wrong. Instead of uploading one with no border I uploaded one with a thick border (can someone change the name to refect that?) However, one thing came of it.... It shows that it is the border of the iframe itself that is overlapping.
Sounds like a bug to me.
Status: UNCONFIRMED → NEW
Ever confirmed: true
So what is the bug? A height:100% block inside another block should have its borders hanging out of its container, since "height" sets the content height... The rendering looks correct to me...
Boris is right, the 'height' property controls the "content height" (padding+border excluded). See http://www.w3.org/TR/REC-CSS2/box.html#box-dimensions -->INVALID
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: