Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
8 Points
42 Posts
Mar 31, 2009 11:52 PM|LINK
So using Chrome - Inspect Element on an Image .. you can see the HTMLImageElement has a set of properties:
http://lh3.ggpht.com/_Y8FtTHDiOgY/SdKr_9Ol4ZI/AAAAAAAAAMM/YGjbra_plDM/s1024/Image_Properties.JPG
Also here is a web article talking about how to check naturalHeight using JavaScript:
http://javascript.royh.cn/img/naturalheight-2-0-naturalwidth.html
mcowan
Member
8 Points
42 Posts
Re: Testing control properties
Mar 31, 2009 11:52 PM|LINK
So using Chrome - Inspect Element on an Image .. you can see the HTMLImageElement has a set of properties:
http://lh3.ggpht.com/_Y8FtTHDiOgY/SdKr_9Ol4ZI/AAAAAAAAAMM/YGjbra_plDM/s1024/Image_Properties.JPG
Also here is a web article talking about how to check naturalHeight using JavaScript:
http://javascript.royh.cn/img/naturalheight-2-0-naturalwidth.html
Aisle7
QA Manager (QA Lead)
michael.cowan@healthnotes.com