Closed Bug 317609 Opened 19 years ago Closed 19 years ago

object element w/o type attribute and file extension is not shown.

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 1156

People

(Reporter: Aleksej, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

If no "type" is specified for an object element, and the "data" file doesn't have an extension, the element is not shown. This makes it impossible to use MultiViews content negotiation.

Not shown:
<object data="/img/lng_ru" />

Shown:
<object data="/img/lng_ru.png" />
<object data="/img/lng_ru.svg" />
<object type="image/png" data="/img/lng_ru" />


Reproducible: Always

Steps to Reproduce:
1. Use a code like <object data="/img/lng_ru" /> , where img/lng_ru is a working link that gives an image that's supported, like PNG or SVG. 
2. Open the code in browser.

Actual Results:  
The "data" file contents is not present on the rendered page.

Expected Results:  
The contents should be shown like it is when its type is specified using the "type" attribute or the file extension.

Didn't check with anything but PNG or SVG.

But #18154 may be closely related to this bug.
fixed on trunk, but not for firefox 1.5

*** This bug has been marked as a duplicate of 1156 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Then should I just wait for it to be fixed in 1.6 or something, or should I file it solely for Fx 1.5?
this won't be fixed for 1.5. I can't really imagine that it will be fixed for a 1.5.x point release either.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.