Closed Bug 218479 Opened 23 years ago Closed 23 years ago

iFrame doesn't support height=xx% in mozilla 1.5b (with doctype = dtd XHTML)

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 67903

People

(Reporter: h.loterie, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827 When adding the param. height="60%" (or 33% as in your sample test) to the tag <iframe>, it simply doesn't resize. I think it should since it is supported in the xhtml dtd 1.0 trans. It's interesting to note that changing the doctype to html 4.0 solve the problem. Reproducible: Always Steps to Reproduce: 1. Go to the url : http://mozilla.org/quality/browser/standards/xhtml/transitional/iframe_height_percent.xml Actual Results: The iframe doesn't respect the 33% as written in the html source code. (instead it's default size as there were no param. set). Expected Results: Show an iframe with an height equal to 33% of the browser.
*** This bug has been marked as a duplicate of 67903 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
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.