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

Re: [css3-2d-transforms][css3-images] <position> grammar is duplicated or points to the wrong spec

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Fri, 03 Feb 2012 13:30:46 +0100
To: www-style@w3.org
Message-ID: <op.v83rpkkpbunlto@oyvinds-desktop>
On Thu, 02 Feb 2012 18:19:42 +0100, Aryeh Gregor <ayg@aryeh.name> wrote:

> On Thu, Feb 2, 2012 at 5:23 AM, Tab Atkins Jr. <jackalmage@gmail.com>  
> wrote:
>> I don't understand how this would accomplish what you want.  Assume
>> that the font-size was originally 15px, so this resolves to .2em. Then
>> the element changes to font-size:30px.  This then resolves to .1em,
>> *not* to 6px like I think you want.  If you were counting on this to
>> work with inheritance, ems are never inherited - they get computed
>> into px (this is why line-height can be specified with a <number> as
>> well).
> ems are inherited in transforms:

In gradients too (though not in Firefox).

Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Friday, 3 February 2012 12:31:15 UTC

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