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

Re: [css-transforms] Transform functions should accept percentages

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 21 Nov 2014 10:36:43 -0800
Message-ID: <CAAWBYDA3+PKnTh_Zrwg3EBXBVT2x3+YAMZsoq17ivhtejHFZTQ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style list <www-style@w3.org>
On Fri, Nov 21, 2014 at 7:41 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> For example, http://dev.w3.org/csswg/css-transforms/#funcdef-translatey
> says:
>
>   translateY() = translateY( <length> )
>
> But in implementations, translateY accepts a length or a percentage.

And it's relative to, iirc, the width of the element's border box.

~TJ
Received on Friday, 21 November 2014 18:37:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC