Closed Bug 127963 Opened 24 years ago Closed 24 years ago

object tag without type attribute should be displayed anyway

Categories

(Core :: Layout, defect, P4)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 96579
Future

People

(Reporter: mozbugs, Assigned: attinasi)

References

()

Details

(Whiteboard: [Hixie-P1])

I have been able to show relative urls within an object tag, but I get a blank when trying the same with an absolute ( and remote ) urls... ie does fine with it, though. What's up with that? ( See url for test case. )
Also, if I look at the Media tab of the page info ( of the given url ), Moz spins into some kind of infinite loop...
Summary: object tag doesn't display remote urls → object tag doesn't display remote urls
You left off the (required) "type" attribute of <object>. Simply adding type="text/html" makes things work.
I added the content="text/html" attribute to the object tag in the url. It did not change the page...
There is no "content" attribute for <object> There is a "type" attribute. You want type="text/html"
My embarrassed apologies... Yeah, it works with the appropriate type attribute set...
I've changed the contents of the url to show a working remote url reference, a non-working url reference, So, this bug reduces to 1. Why does the object tag display a local page via the object tag when the type attribute isn't set, but doesn't display a remote page when the type attribute isn't set? 2. I get into trouble when I go to the Media tab in page info. 3. There should be some text ( alt?, data? ) in the blank area of the object ( that cannot be displayed because the type is left off, if that is the issue... )
Summary: object tag doesn't display remote urls → object tag without type doesn't display remote urls, but displays local urls; trouble with Media tab in page info; should have text indicator
> Why does the object tag display a local page via the object tag when the type > attribute isn't set, but doesn't display a remote page when the type attribute > isn't set? Because if type is not set we fall back on the extension of the "data" attribute. In your case the "local" page has an extension that is relevant, the "remote" one does not. Making that link be to "http://www.mozilla.org/index.html" works. Granted, we should consider fetching the data anyway, even if we don't know the type up front... > I get into trouble when I go to the Media tab in page info. Bug 122055 > There should be some text ( alt?, data? ) in the blank area of the object That is almost certainly bug 96976 Over to layout to make a call on item #1.
Assignee: asa → attinasi
Component: Browser-General → Layout
QA Contact: doronr → petersen
Summary: object tag without type doesn't display remote urls, but displays local urls; trouble with Media tab in page info; should have text indicator → object tag without type attribute should be displayed anyway
Changing QA contact
QA Contact: petersen → moied
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P4
Target Milestone: --- → Future
bz: the type attribute is _not_ required per spec, and the HTTP Content-Type header overrides it in any case.
Whiteboard: [Hixie-P1]
? *** This bug has been marked as a duplicate of 96579 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified dup of 96579
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.