Re: [csswg-drafts] [css-flexbox] Allow fractions for order

Yeah, the whole point of this is to avoid people needing to pre-separate their `order` values. People do that today with `z-index` and it's ridiculous and shouldn't be necessary.

> I also wonder if `order: 1 -1` is before `order: 1`

Yes, it's a lexicographic order, with missing indexes filled with zeros.  You compare each index and sort on the first one that's different.  So, `order: 1;` is the same as `order: 1 0`, and `order: 1 -1` comes before that.

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

Received on Friday, 19 January 2018 19:17:33 UTC