Closed
Bug 291834
Opened 20 years ago
Closed 20 years ago
Height attribute in percent is ignored for <object> <iframe> and <table>.
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: m4341, Unassigned)
References
()
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050425 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050425 A page where the height of an object (<object> of <iframe>) is given in percent is not rendered correctly. IE 6.0 and Opera 8 does this correctly. However the width attribute works fine! <object data="/cgi-bin/music.sh" type="text/html" width="100%" height="90%" /> and <iframe src="/cgi-bin/music.sh" width="100%" height="90%" ></iframe> are tried with the same result. The same problem also goes for the <table> object, so it's a general height problem. Reproducible: Always Steps to Reproduce: 1. Create a simple web page containing any object of type <object> <iframe> or <table> 2. View the page and the height attribute given in percent of page height is ignored! 3.
Comment 1•20 years ago
|
||
wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050423 (older than report)
Comment 2•20 years ago
|
||
wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050425 also wfm if I change width of tables in testcase from 80% to 100%
| Reporter | ||
Comment 3•20 years ago
|
||
This test code shows that the bug is present in XHTML 1.1 handling, compare that with the previous test case that is HTML 4.01.
Comment 4•20 years ago
|
||
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050425 first testcase renders correctly in quirks mode, but shows bug in DOM Inspector´s Browser View second testcase shows bug in valid xhtml.
Assignee: general → nobody
Severity: normal → major
Status: UNCONFIRMED → NEW
Component: General → Layout: Tables
Ever confirmed: true
Product: Mozilla Application Suite → Core
QA Contact: general → layout.tables
Version: unspecified → Trunk
In standards compliance mode the height attribute should be ignored when the containing block does not have specified height. See http://www.w3.org/TR/CSS21/visudet.html#propdef-height. Please note that IE6 sp2 and mozilla do render the xhtml testcase identical.
marking invalid, please reopen if you read something different from CSS 2.1
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•