[whatwg] Add "naturalOrientation" property to <img>

Peter Kasting pkasting at google.com
Fri Aug 26 16:03:12 PDT 2011


On Fri, Aug 26, 2011 at 2:08 PM, James Salsman <jsalsman at gmail.com> wrote:

> Maybe someone should ask the browser vendors how many img formats they
> support and what the code footprint memory overhead would be for
> adding rotation support for those which are likely to need it at
> whatever confidence level you feel is appropriate.


Auto-rotating images in the browser is controversial for reasons that mostly
boil down to web compat, not code footprint.  WebKit-on-iOS does it and
AFAIK few others do.  https://bugs.webkit.org/show_bug.cgi?id=19688 is about
doing this in WebKit and you're welcome to read that bug to get a feel for
the various viewpoints.

PK



More information about the whatwg mailing list