Re: How to print the src attribute of an ImageElement

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
[email protected] wrote:
> But it turns out that no all nsImageFrame is an ImageElement.

That's true.  It could also be an InputElement (<input type="image">).

> I can think of 1 example. a LI element which uses an image
> an the bullet.

That doesn't use an nsImageFrame.  It uses an nsBulletFrame.

-Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.