W3C home > Mailing lists > Public > www-style@w3.org > April 2014

Re: [css-color] Feedback on the image-orientation CSS property

From: Justin Novosad <junov@google.com>
Date: Thu, 17 Apr 2014 11:49:36 -0700
Message-ID: <CABpaAqT-bfpsPLz36Sb=-rbzu2nAfRkvz=YmS1JEVXgPBjqA4g@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style list <www-style@w3.org>
On Thu, Apr 17, 2014 at 11:18 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> On Thu, Apr 17, 2014 at 11:07 AM, Justin Novosad <junov@google.com> wrote:
> > Not sure I understand Tab's suggestion of having it both in markup and
> CSS.
> I'm not suggesting that, though I see how my comment could be read
> that way.  I'm fine with it in CSS, in HTML, or in both.  Any of the
> possibilities are fine with me.
> > Does one override the other? Could canvas.drawImage only depend on the
> > attribute and not on CSS (to avoid depending on style computation?)
> If we had both, I'd probably design it so that the HTML feature won
> (the CSS one would supply a "default" orientation, which could be
> explicitly overridden by the document language).  Then canvas and
> similar things could look at just HTML when something was explicitly
> specified.

Doing that would offer a solution to the canvas/WebGL problem without
foregoing the convenience of CSS. But I worry it would be too confusing.
Past experience: canvas width/height in CSS vs. markup

> ~TJ
Received on Thursday, 17 April 2014 18:50:05 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:39 UTC