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)
Tracking
()
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. )
| Reporter | ||
Comment 1•24 years ago
|
||
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
Comment 2•24 years ago
|
||
You left off the (required) "type" attribute of <object>. Simply adding
type="text/html" makes things work.
| Reporter | ||
Comment 3•24 years ago
|
||
I added the content="text/html" attribute to the object tag in the url.
It did not change the page...
Comment 4•24 years ago
|
||
There is no "content" attribute for <object> There is a "type" attribute. You
want
type="text/html"
| Reporter | ||
Comment 5•24 years ago
|
||
My embarrassed apologies...
Yeah, it works with the appropriate type attribute set...
| Reporter | ||
Comment 6•24 years ago
|
||
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
Comment 7•24 years ago
|
||
> 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
| Reporter | ||
Updated•24 years ago
|
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
Updated•24 years ago
|
Target Milestone: --- → Future
Comment 9•24 years ago
|
||
bz: the type attribute is _not_ required per spec, and the HTTP Content-Type
header overrides it in any case.
Whiteboard: [Hixie-P1]
Comment 10•24 years ago
|
||
?
*** This bug has been marked as a duplicate of 96579 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•