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

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

Received on Friday, 26 August 2011 16:03:12 UTC