Closed Bug 180681 Opened 23 years ago Closed 23 years ago

Mozilla's Rendering of Nested Object Elements Violates Spec.

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: arun, Assigned: rubydoo123)

Details

Attachments

(2 files)

The HTML 4.01 specification recommends that when we encounter nested Object elements, we start with the outermost one and work our way in. But this is not what latest Mozilla (trunk) builds do, nor branch builds (e.g. Netscape 7). We've got it backwards -- we seem to start with the innermost object element and work outwards. Here is sample code -- I'll make attachments as well. <p> <object type="application/x-shockwave-flash" data="javascript_to_flash.swf" id="myFlash" width="366" height="142"> <param name="movie" value="javascript_to_flash.swf"> <param name="quality" value=high> <param name="swliveconnect" value="true"> <object type="audio/x-ms-wma" id="myWMA" width="366" height="142"> <param name="src" value="laure.wma"> <param name="quality" value="high"> </object> </object> </p> Expected Behavior: Now here, we should first start with Flash, and then, if incapable of rendering Flash (SWF file) we will render Windows Media Player which will play the WMA clip. Actual Behavior: We only render WMP, although we are fully capable of rendering Flash. So we are respecting the innermost Object element, and disregarding the outermost object element. We've got it wrong by spec. Spec: http://www.w3.org/TR/REC-html40/struct/objects.html#edef-OBJECT
For the second nested object element, use any media type for which you have a handler that shows up in your "about:plugins" search. I use WMA.
Sorry, marking invalid. I've retested the testcase, and I'm sorry I logged this one! We're doing the right thing.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
v.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: