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

Re: directional images

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 24 Feb 2011 09:38:18 -0800
Cc: fantasai <fantasai.lists@inkedblade.net>, "Aharon (Vladimir) Lanin" <aharon@google.com>, W3C style mailing list <www-style@w3.org>
Message-Id: <7A1382B5-AD9C-4FA7-B169-211079D06E9D@gmail.com>
To: Tab Atkins Jr. <jackalmage@gmail.com>

On Feb 24, 2011, at 9:20 AM, Tab Atkins Jr. wrote:

>> ul:rtl {
>>  list-style-image-transform: reflect(0deg);
>> }  /* or, transformation is automatic for directions not specified by author */
> 
> This last one works for me too.  There are only four image properties
> in CSS, so having a separate transform property for them wouldn't be
> onerous, I would think.  We've talked about the usefulness of
> transforming images before, too (rotation/scaling/skewing of
> background images, particularly tiled ones, for example).
> 
> (While I'm usually in favor of image manipulation happening at the
> <image> level rather than the property level, in this case it would
> require repeating an image, which is fragile.  Better for the author
> to have transforms directly.)

This one also has the advantage of being more backwards-compatible, if you author a rule like this for :rtl and don't use a :rtl on the default version.
Received on Thursday, 24 February 2011 17:40:29 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:37 GMT