-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-webkit-box-ordinal-group val+1? #1
Comments
The older syntax (box-ordinal-group) starts counting from 1, while the newer syntax (order) starts from 0. |
mm can you point me to articles supporting this idea? I see that -webkit-box-ordinal-group initial value is 1, and other browsers at 0, but the way I read it, it may not mean it shifts the group order counting. To me, it looks like, initially, older webkit browsers set the element order group in 1, but if it's set to any other int, webkit and other browsers would order it to that same int grouping. I just haven't been able to find any articles saying about this, so let me know what I thought is incorrect. Thanks. |
Ok, so the W3C articles you might of come across... The real problem with box-ordinal-group is:
You can see on the http://the-echoplex.net/flexyboxes/ tool that order is always +1 of box-ordinal-group. There is the case that the user can use negative numbers for order, in which case, the older syntax will fail, however as long as they stick to 0+ order will work fine, and the +1 will prevent the fallback from failing. I should probably add a note for that, as I don't think there's any way to full proof the fallback for negative. |
why is
-webkit-box-ordinal-group
(ln 132
) incremented the value by one, while the others don't?The text was updated successfully, but these errors were encountered: