Re: [whatwg] Effect of image-orientation on naturalWidth/Height

2015-03-09 Thread Garrett Smith
On 3/9/15, Tab Atkins Jr. jackalm...@gmail.com wrote: On Mon, Mar 9, 2015 at 4:01 PM, Seth Fowler s...@mozilla.com wrote: On 3/9/15, Seth Fowler s...@mozilla.com wrote: Hi all! I wanted to get the opinion of this list on how image-orientation and the img element's naturalWidth and

Re: [whatwg] Effect of image-orientation on naturalWidth/Height

2015-03-09 Thread Seth Fowler
On Mar 9, 2015, at 5:06 PM, Garrett Smith dhtmlkitc...@gmail.com wrote: On 3/9/15, Tab Atkins Jr. jackalm...@gmail.com wrote: That's a good question. I suspect that .naturalWidth/Height should return the image's dimensions before applying CSS rotations. I think that that is not what

Re: [whatwg] Effect of image-orientation on naturalWidth/Height

2015-03-09 Thread Tab Atkins Jr.
On Mon, Mar 9, 2015 at 4:01 PM, Seth Fowler s...@mozilla.com wrote: Hi all! I wanted to get the opinion of this list on how image-orientation and the img element’s naturalWidth and naturalHeight properties should interact. The css-images level 3 spec says: The intrinsic height and width

[whatwg] Effect of image-orientation on naturalWidth/Height

2015-03-09 Thread Seth Fowler
Hi all! I wanted to get the opinion of this list on how image-orientation and the img element’s naturalWidth and naturalHeight properties should interact. The css-images level 3 spec says: The intrinsic height and width are derived from the rotated rather than the original image dimensions.”