Closed
Bug 273584
Opened 20 years ago
Closed 20 years ago
<OBJECT ...> tag can't work with percent-value in width/height-attribut
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: vikinger, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.6) Gecko/20040113 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.6) Gecko/20040113 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML> <HEAD> <TITLE>Remote-Task-Monitor (C) ERIK the VIKINGER - Java-Applet</TITLE> <META http-equiv="content-type" content="text/html;charset=ISO-8859-1"> <META http-equiv="content-language" content="en"> <META http-equiv="expires" content="-1"> <META http-equiv="cache-control" content="no-cache"> <META http-equiv="pragma" content="no-cache"> <STYLE type="text/css">body { margin : 0 }</STYLE> <!-- problem ?? --> </HEAD> <BODY> <p><OBJECT classid="java:K_INDEX.class" archive="K_INDEX.jar" codetype="application/x-java-applet" width="100%" height="100%">blablabla...</OBJECT></p> <p>Copyright 2004 ERIK the VIKINGER (Erik Spänig) <a href="mailto:vikinger@uni.de?subject=Java-Applet">vikinger@uni.de</a>. All rights reserved.</p> </BODY> </HTML> this site dosn't work (Applet is running but nothing is visible) if i use >>width="800" height="600"<< is all okay but the size of the applet is fix (in Opera 7.5 works it fine) Reproducible: Always Steps to Reproduce:
Reporter | ||
Comment 1•20 years ago
|
||
in Firefox 1.0 exist the same problem (all unter Win 2k) independent of the JVM-version (i have tested with 1.5 and 1.4.2) -- sory for my terrible english my favorite language is assembler
Comment 2•20 years ago
|
||
Given that markup, the correct height of the object is its intrinsic height (the same as if the height attribute were not set), which is 0. So sounds like the behavior is correct.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 3•20 years ago
|
||
see to <http://vikinger.privat.t-online.de/TEST.html> for an example
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Summary: <OBJECT ...> tag can't work with percent-value in width/height-attribus → <OBJECT ...> tag can't work with percent-value in width/height-attribut
Comment 4•20 years ago
|
||
Right. The height of the percent-height applet in that testcase should be 0. I'm not sure why you reopened the bug...
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 5•20 years ago
|
||
> The height of the percent-height applet in that testcase should be 0. why is "100%" == 0 ?? "100%" i think must be "complete viewable area of window". i have added some screen-shots from Mozilla and Opera to this page : <http://vikinger.privat.t-online.de/TEST.html> In my opinion works Opera correct and Mozilla have a bug. FireFox have the same Problem and its independent from used Java-Plugin (1.4.x or 1.5.x) Please check it again.
Comment 6•20 years ago
|
||
> why is "100%" == 0 ??
> "100%" i think must be "complete viewable area of window".
100% is defined to be "100% of the height of the parent". In this case, parent
(that is, the <p> element) has auto height, so per the CSS spec a percentage
height on the child (the <object>) is treated as auto.
The net effect is that of not specifying height at all. Which for <object>
means it should render with a 0 height.
It sounds like Opera is doing some sort of odd quirks-mode thing on this page
instead of following the relevant specifications...
You need to log in
before you can comment on or make changes to this bug.
Description
•