naturalWidth & naturalHeight image properties
naturalWidth & naturalHeight image properties
Properties defining the intrinsic width and height of the image, rather than the displayed width & height.
Spec | https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-naturalwidth |
---|---|
Status | WHATWG Living Standard |
IE | Edge | Firefox | Chrome | Safari | Opera |
---|---|---|---|---|---|