- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Fri, 09 Aug 2013 11:28:00 +0800
- To: www-style@w3.org
On 08/09/2013 07:47 AM, Seth Fowler wrote: > Hi all, > > I'm working on implementing the 'image-orientation' property at Mozilla, > for inclusion in some future version of Firefox. The initial implementation > is nearly done at this point. What I've implemented so far is the CSS Level >4 version of 'image-orientation', plus the 'flip' feature that Tab Atkins > describes in this email: > > http://lists.w3.org/Archives/Public/www-style/2011Dec/0003.html > >> image-orientation: from-image | flip | <angle> flip? > > The meaning is that 'flip' on its own is equivalent to '0deg flip'. > I require the angle to always appear before the 'flip' since the > rotation always happens before the flip; this makes the syntax > nicely mirror the semantics. I do wonder if it would make sense to make the keyword 'flip-x' instead, to be clear about the affected dimension. > In my implementation, flipping is always done horizontally, > rather than in the inline direction. I felt this made more > sense; I know there are uses for flipping an image according > to the inline direction, but that feels like a different > feature to me. I agree this is the right thing to do. ~fantasai
Received on Friday, 9 August 2013 03:28:27 UTC