RESOLVED FIXED 13333
Support naturalWidth/naturalHeight on image elements
https://bugs.webkit.org/show_bug.cgi?id=13333
Summary Support naturalWidth/naturalHeight on image elements
Anders Carlsson
Reported 2007-04-11 11:45:32 PDT
These return the real width and height of the image, and not the width specified by CSS or attributes
Attachments
David Kilzer (:ddkilzer)
Comment 1 2007-04-19 05:27:52 PDT
This may be P1 depending on if Bug 13395 is resolved by Yahoo! or not.
Darin Adler
Comment 2 2007-04-19 10:27:12 PDT
I think this is the best way to fix the Yahoo problem in bug 13395; it should be relatively straightforward to do.
Anders Carlsson
Comment 3 2007-04-19 10:34:37 PDT
I've implemented this, just need to write a layout test.
Darin Adler
Comment 4 2007-04-19 10:38:37 PDT
Oh, OK. Too bad you didn't assign to yourself. I was just working on it too!
Darin Adler
Comment 5 2007-04-19 10:39:14 PDT
My research indicates that these should return 0 when there is not a currently-loaded image.
Anders Carlsson
Comment 6 2007-04-19 11:27:36 PDT
Darn, I just accepted the bug without reassigning it to myself, sorry about that.
Anders Carlsson
Comment 7 2007-04-19 12:38:46 PDT
Committed revision 20954.
David Kilzer (:ddkilzer)
Comment 8 2007-04-19 13:34:22 PDT
*** Bug 13395 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.