Closed
Bug 227229
Opened 22 years ago
Closed 22 years ago
Percentage bug found in object attribute height=100% when used with XHTML DOCTYPE
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 208433
People
(Reporter: daniel, Assigned: bugzilla)
References
()
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
The blank Flash object issue specifically appears in the object tag when a
percent is used in the height= attribute under an XHTML declaration. A percent
can be used in the width= but not in the height=. Also the bug seems to be
closely tied the eclamation character in the DOCTYPE. For instance if you
delete the eclamation before the DOCTYPE (<DOCTYPE html PUBLIC) then suddenly
the 100% in the height attribute will work.
You can also add an additional eclamation (<!DOCTYPE! html PUBLIC) and
the height="100%" will suddenly work and show the Flash object.
Reproducible: Always
Steps to Reproduce:
1. Create a flash object
2. Enter 100% for the height attribute in the object tag
3.
Actual Results:
Browser will display a blank object until percent is taken out of height=
when used in combination with XHTML complaint declaration.
Expected Results:
For the Firebird browser to allow stretching and resizing of the Flash object
when using the object tag with width="100%" and height="100%" in an XHTML
compliant page.
Comment 1•22 years ago
|
||
*** This bug has been marked as a duplicate of 208433 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 2•22 years ago
|
||
For the moment, in this new landscape of XHTML, the suggestion
of using CSS is currently the best way to fix the 100% percent
issue in the object height attribute when a full Flash web site
is desired.
<style type="text/css">
html, body { margin: 0; padding: 0; height: 100%; }
</style>
Also review the RazorX comments for the 100% Flash issue
on alistapart.com:
http://www.alistapart.com/discuss/flashsatay/25/
http://www.alistapart.com/discuss/flashsatay/26/
http://www.alistapart.com/discuss/flashsatay/27/
You need to log in
before you can comment on or make changes to this bug.
Description
•