-
Notifications
You must be signed in to change notification settings - Fork 686
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
[css-align] justify-items
and anonymous block boxes
#11461
Comments
But how would you allow aligning 'anonymous blocks' to the end if that's the desired behavior? |
There is of course a trade-off, we need to think which option will be less confusing. |
That's beside the point since we're no longer dealing with anonymous block boxes in that case. I think keeping the |
I don't think most authors know about anonymous block boxes, and we typically pretend that they aren't there (see percentage resolution, #2595, etc.) So I think we should either
|
In Blink it looks like this:
In the 1st case, there is no block-level child to align. In the 2nd case, "foo" gets wrapped inside an anonymous block, which is then aligned by
justify-items: right
.But it seems potentially unexpected that appending a block affects the alignment of the inline contents.
Maybe anonymous blocks should get assigned
justify-self: start
justify-self: stretch
(ornormal
)?The text was updated successfully, but these errors were encountered: