-
Notifications
You must be signed in to change notification settings - Fork 756
Description
The rules on how to add extra space for baseline content-alignment seem to be duplicated (in slightly different form) between Baseline Content-Alignment and Aligning Boxes by Baseline. However, the former says that padding when aligning to first (last) baseline is added on the start (end) side, and the latter seems to say roughly the same except without specifying that it's padding that's added.
This seems to assume that the align-self of a first (last) baseline aligned element is always start (end). However, I don't see anything that ensures this, and in fact I could imagine it being a useful feature to not ensure this. However, it might also be rather difficult to implement, and I think it needs to be thought through a bit.
For example, in a horizontal flex container, suppose you apply align-content: baseline to two display:block flex items, one of which has align-self: end one has align-self: start. Any padding added for first baseline alignment will certainly be added to the bottom of the first, and the top of the second.