Re: margin-inline-start and friends

On Thu, May 9, 2013 at 4:09 PM, L. David Baron <> 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