Re: [csswg-drafts] [css-logical] flow-relative ordering

Every single 4-direction CSS property uses the t/r/b/l ordering. This is why we made the logical props do the same thing.

Most (all?) 2-direction CSS properties use x/y ordering. This is inconsistent with the 4-direction properties! In particular, it's inconsistent with what happens when you specify two of the four values in a 4-direction property: you then get y/x ordering!  (And this means we can never expand a 2-direction syntax into a 4-direction syntax later, without using a more complicated grammar. :disappointed: )

So CSS has a *single* consistent ordering for when you specify 4 values, and an inconsistent ordering when you specify 2 values. 4-direction properties are also more common than 2-direction properties, I think, especially when weighted by usage.  Being maximally self-consistent thus demands that we follow the 4-direction syntax, and start with the block axis.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1500#issuecomment-306214010 using your GitHub account

Received on Monday, 5 June 2017 15:13:42 UTC