W3C home > Mailing lists > Public > www-style@w3.org > July 2011

Re: [css3-images] Gradient Magic

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 19 Jul 2011 13:36:50 -0700
Message-ID: <CAAWBYDCXjmw9-uJZUY3_PRFP4d2MhycJHggomA3z1V8V-7oagw@mail.gmail.com>
To: Behnam Esfahbod ZWNJ <behnam@zwnj.org>
Cc: Brian Manthos <brianman@microsoft.com>, Brad Kemper <brad.kemper@gmail.com>, WWW-Style <www-style@w3.org>
On Mon, Jul 18, 2011 at 10:56 PM, Behnam Esfahbod ZWNJ <behnam@zwnj.org> wrote:
> The square-box-and-fill model works better with the "object-fit"
> property and it's "fill" value. In fact, having a solution based on
> the object-fit property, there is the possibility to support yet a few
> more methods, like "cover", which is also impossible to implement
> using the current features. Also, note that "object-fit: contain" is
> equivalent to "45deg" or "135deg".

Are there any use-cases for such things?  They definitely *could* be
done, but I cant' think of any reason why you'd want to.  It would be
equivalent to you just specifying an angle directly (something of the
form n*90deg + 45deg), with a bit of a scale thrown in.

Received on Tuesday, 19 July 2011 20:37:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:02 UTC