Closed Bug 237113 (FlashHeight) Opened 20 years ago Closed 20 years ago

Object data is not rendered when Height attribute is assigned a percentage (flash)

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: david, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040310
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040310

Embeding a flash movie into a XHTML 1.0 Transitional page with the height
attribute set as a percentage fails to display the flash.



Reproducible: Always
Steps to Reproduce:
1. view testcase
Actual Results:  
First 2 flash objects displayed, 3rd flash object didn't display.

Expected Results:  
All 3 flash objects display, third scales with window size.

Testcase works correctly in Opera 7.23, and intermitently in Communicator 4.7 

Very closley related to bug 131065, but I didn't want to reopen that bug as it
is hard to read and identify which testcases to look at.
Keywords: testcase
100% of auto is auto in CSS.  Auto size for an <object> is 0x0 for compat
reasons (that's what IE and Opera do if you specify no size at all).

So the rendering is correct.  If you want the "do what I mean, not what I say"
rendering that will ignore the CSS spec, please use quirks mode.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Ah, ok. I get it now.

To get percentage height values working for the object element, 'height: 100%;'
is needed on the html and body elements.

Status: RESOLVED → VERIFIED
*** Bug 251462 has been marked as a duplicate of this bug. ***
*** Bug 263986 has been marked as a duplicate of this bug. ***
*** Bug 278526 has been marked as a duplicate of this bug. ***
Alias: FlashHeight
*** Bug 291839 has been marked as a duplicate of this bug. ***
*** Bug 208433 has been marked as a duplicate of this bug. ***
*** Bug 315597 has been marked as a duplicate of this bug. ***
what are we doing to point out to users that it's the pages that are wrong, when they work in "every other modern browser" besides Firefox?

is there any kind of web-designer education we can put on devMo?

Note that it's only a problem in strict mode. See also bug 33443 comment 9, and http://developer.mozilla.org/en/docs/Mozilla_Quirks_Mode_Behavior (Block and Inline layout section).
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: