Closed Bug 219931 Opened 21 years ago Closed 21 years ago

percentage height quirk for IFRAME doesn't work through FORM

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 88035

People

(Reporter: simon.xie, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Build Identifier: use the testcase 201.html with diff browsers ie ,netscape 7 works very well , mozilla1.2.1 cannnt work properly and only display the small size . netscape 6.22 cannt work with the testcase !!!!!!!! pls compare those with the diff browsers if we delete the some line in the basestyles.css file e.g .OuterTable { BORDER-RIGHT: #666666 1px solid; WIDTH: 100%; HEIGHT: 100% } the mozill 1.2.1 and Ie browser works properly but netscape cannt works Reproducible: Always Steps to Reproduce: 1.open the testcase 201.html 2. 3. Actual Results: frame size is the same in diff browers Expected Results: display diff size in those browsers
Be careful your testcase isn't a valid HTML document, the body element is missing and the form element is misplaced : http://validator.w3.org/check?uri=http%3A%2F%2Fbugzilla.mozilla.org%2Fattachment.cgi%3Fid%3D131881%26action%3Dview&charset=%28detect+automatically%29&doctype=HTML+4.01+Transitional Just remove the form element to get the table in full height, or set the height of the form to 100%. But keep in mind this is just a quirks, it will no longer work in standard mode.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
*** Bug 220151 has been marked as a duplicate of this bug. ***
see 220151's testcase
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
The testcase in Bug 220151 is exactly the same as in this bug. The table takes 100% of the height allocated to the form, and not 100% of the page, that's the correct behaviour imho. Setting the form height to 100% is a solution, removing the form is another one. What site is using this code ? This could turn into an evangelism bug.
Summary: iframe display greatly different in the different browsers. → percentage height quirk for IFRAME doesn't work through FORM
*** This bug has been marked as a duplicate of 88035 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: