Re: Image orientation for backgrounds

On Tue, Apr 15, 2014 at 1:17 PM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> On Tue, Apr 15, 2014 at 11:20 AM, L. David Baron <dbaron@dbaron.org>
> wrote:
> > On Tuesday 2014-04-15 13:43 -0400, Boris Zbarsky wrote:
> >> Currently
> >> http://dev.w3.org/csswg/css-images-3/#the-image-orientation is
> >> explicitly specified to not affect background images.  However, a
> >> use case was brought up that really wants orientation based on EXIF
> >> metadata for backgrounds: user-provided wallpapers in web apps.
> >>
> >> I'm not saying we should make image-orientation apply to
> >> backgrounds, but we need some mechanism (e.g. via image()?) for
> >> having backgrounds that respect EXIF metadata...
> >
> > I think the way that fits best with other plans is probably adding
> > an argument to the image() function (also in css-images).
>
> I agree. The question is just what to name the value.  We can't use
> from-image, as it's too generic.  Maybe rotation-from-image?
> auto-rotate?  native-orientation?
>

Can't you just make it the default behavior with image()? I think everyone
would want the EXIF data to be honored.

Received on Tuesday, 15 April 2014 20:33:46 UTC