Closed Bug 100970 Opened 23 years ago Closed 21 years ago

implement HTMLImageElement.contentType

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

x86
All
enhancement

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.
This would useful for the Page Info dialog.
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9.7
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
Blocks: 82059
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
QA Contact: lchiang → ian
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
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
Component: DOM: Mozilla Extensions → DOM
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.