Closed
Bug 100970
Opened 23 years ago
Closed 21 years ago
implement HTMLImageElement.contentType
Categories
(Core :: DOM: Core & HTML, enhancement, P4)
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: doronr, Assigned: bzbarsky)
References
Details
per irc, a contentType for an imageElement would be neat, over to bz who is working on that for document.
Assignee | ||
Comment 1•23 years ago
|
||
This would useful for the Page Info dialog.
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9.7
Assignee | ||
Comment 2•23 years ago
|
||
I looked at this. This is hard.... Sometimes it's the frame that needs to handle this, sometimes the content. Pushing out for now.
Priority: P2 → P4
Target Milestone: mozilla0.9.7 → mozilla1.0.1
Assignee | ||
Comment 3•22 years ago
|
||
This hasn't gotten any easier, unfortunately... pushing out to future, but I'll revisit this when I have time to test any prospective fixes properly.
Target Milestone: mozilla1.0.1 → Future
Assignee | ||
Comment 4•22 years ago
|
||
I've "revisited" this by moving all image stuff out of the frame. ;) Once bug 83774 lands, you can get and imgIIRequest off the content node, and that has a .mimeType attribute.
Depends on: 83774
Assignee | ||
Comment 5•21 years ago
|
||
Fixed. You can get the current image request and get its type now; I don't think we need an explicit contentType attr on the image object itself.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Component: DOM: Mozilla Extensions → DOM
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•