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

Re: [CSS21] margin computed value

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 9 Nov 2009 10:25:21 -0800
To: Andrey Mikhalev <amikhal@abisoft.spb.ru>
Cc: www-style@w3.org
Message-ID: <20091109182521.GA28882@pickering.dbaron.org>
On Monday 2009-11-09 21:14 +0300, Andrey Mikhalev wrote:
> On Mon, 9 Nov 2009, L. David Baron wrote:
>
>> On Monday 2009-11-09 18:07 +0300, Andrey Mikhalev wrote:
>>> in "8.3 Margin properties", computed value for margin-* claimed as:
>>> "the percentage as specified or the absolute length"
>>
>> I think this should say "the percentage or auto as specified, or the
>> absolute length".
>
> mozilla POV :)

Not really.  Mozilla used to inherit the old definition of computed
value, but it was a lot of extra work, and getting rid of that extra
work was the whole point of the change that introduced used values.

The point of that change was that inheritance would never depend on
layout-dependent computations, which it would if margin:auto has to
be inherited as a number.  It would be extremely silly to remove
that dependency for all cases but one.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Monday, 9 November 2009 18:26:14 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:41 UTC