- From: L. David Baron <dbaron@dbaron.org>
- Date: Tue, 10 Mar 2015 10:09:20 -0700
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: WHATWG List <whatwg@whatwg.org>, Seth Fowler <seth@mozilla.com>
On Monday 2015-03-09 16:52 -0700, Tab Atkins Jr. wrote: > That's a good question. I suspect that .naturalWidth/Height should > return the image's dimensions before applying CSS rotations. This is > likely to be surprising, but also probably the correct answer for > separation-of-concerns reasons. > > I wonder whether I need to tweak Images, or Hixie needs tweak <img>. Hmm. I really think that the mechanism for opting in to honoring EXIF should make the browser act as though the rotation were in the image format. It's a compatibility hack (because implementations were initially shipping without EXIF support, and there may be a dependency on that), but once the developer has opted in, everything should really act like the rotation is part of the image format. -David -- 𝄞 L. David Baron http://dbaron.org/ 𝄂 𝄢 Mozilla https://www.mozilla.org/ 𝄂 Before I built a wall I'd ask to know What I was walling in or walling out, And to whom I was like to give offense. - Robert Frost, Mending Wall (1914)
Received on Tuesday, 10 March 2015 17:09:48 UTC