Closed
Bug 136067
Opened 24 years ago
Closed 23 years ago
IFRAME overflows DIV boundaries
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
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.
| Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
->HTML Frames
| Assignee | ||
Comment 3•24 years ago
|
||
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.
| Reporter | ||
Comment 4•24 years ago
|
||
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?
| Reporter | ||
Comment 5•24 years ago
|
||
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.
| Reporter | ||
Comment 6•24 years ago
|
||
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.
| Assignee | ||
Comment 7•24 years ago
|
||
Sounds like a bug to me.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 8•23 years ago
|
||
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...
Comment 9•23 years ago
|
||
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
Updated•7 years ago
|
Product: Core → Core Graveyard
Updated•7 years ago
|
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.
Description
•