W3C home > Mailing lists > Public > www-style@w3.org > May 2013

Re: margin-inline-start and friends

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 9 May 2013 16:19:08 -0700
Message-ID: <CAAWBYDD9aKNuq2q727kjcXs9KGtYMd3G9E-CGy+b6xjBpAB2wQ@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: Simon Sapin <simon.sapin@exyr.org>, fantasai <fantasai.lists@inkedblade.net>, www-style list <www-style@w3.org>
On Thu, May 9, 2013 at 4:09 PM, L. David Baron <dbaron@dbaron.org> wrote:
> I should probably say this more clearly:
>  * for LTR, margin-start and margin-left must be cascaded together
>  * this requires that the direction be known before cascading margin
>    properties
>  * this means the cascade has two passes (which is what Simon was
>    asking about), with direction being done in the first pass and
>    margins (cascaded together) in the second pass

I'm just not understanding why your suggestion at
requires this. :/  It looks like you can just cascade everything
together, with the properties expending into those longhands, and then
decide at computed-value time what the actual values of each margin
should be, by consulting 'direction' and 'writing-mode' to figure out
which '*-source' property to look at, to figure out which '*-value'
property to look at.

Received on Thursday, 9 May 2013 23:19:55 UTC

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