Closed
Bug 203338
Opened 22 years ago
Closed 22 years ago
iframe with height="100%" takes more space than 100% - this results in extra scrollbars
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: udo.offermann, Unassigned)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
Look at the following HTML doc:
<html>
<body>
<iframe
src="http://www.mozilla.org"
width="100%" height="100%"
marginheight="0"
frameborder="no">
</iframe>
</body>
</html>
It generates a minimal vertical scrollbar for ~5 pixels.
If you put the iframe into a div it works and no scrollbar is drawn.
But you have to put the div tag and the iframe tag on one line:
<div><iframe...>
</iframe></div>
works,
while
<div>
<iframe...>
</frame>
</div>
produces an extra vertical scrollbar
Reproducible: Always
Steps to Reproduce:
1. run HTML page containing an iframe with height="100%"
Actual Results:
the browser renders a vertical scrollbar for ~5(!) Pixels
Expected Results:
don't show any vertical scrollbar
![]() |
||
Comment 3•22 years ago
|
||
Um... That build is _very_ old. And the bug is no longer present in current builds.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
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
•