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: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 3 Feb 2012 06:43:35 -0800
Message-ID: <CAAWBYDAxyxcGGeQis2iKjpnD4RSPayH7B8nGssBDodzaBchAPw@mail.gmail.com>
To: Øyvind Stenhaug <oyvinds@opera.com>
Cc: www-style@w3.org
On Fri, Feb 3, 2012 at 4:30 AM, Øyvind Stenhaug <oyvinds@opera.com> wrote:
> 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).

Since gradients are never inherited except through explicit use of the
'inherit' keyword (like transforms), we can almost certainly change
that as well.

The problem is that I haven't defined the computed value of a
gradient.  I clearly need to do so.

~TJ
Received on Friday, 3 February 2012 14:44:28 GMT

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