[csswg-drafts] [css-align] Overconstrained Baseline Content-Alignment with box-sizing:border-box and a max-height?

MatsPalmgren has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-align] Overconstrained Baseline Content-Alignment with 
box-sizing:border-box and a max-height? ==
https://drafts.csswg.org/css-align-3/#baseline-align-content
"minimum necessary extra space is added between its start (end) 
content
edge and its alignment subject’s edge to align its alignment baseline
in that axis"

What should happen when the alignment subject has 
box-sizing:border-box
and a max-[width|height] in the relevant axis, and adding "minimum
necessary extra space" to meet the baseline would exceed the given
max size?

I can't find anything in the CSS Align spec that says anything about
this case.

I can think of a few alternatives:
A. add padding up to the max size and then add margin after that
   (honor both baseline alignment and the given max-size, but not
    align-self)
B. add padding up to the max size
   (honor the given max-size and align-self, but not baseline
    alignment)
C. ignore the max size
   (honor align-self and baseline alignment, but not the max size)

I think I prefer A, and that B is acceptable, but C is unacceptable.


Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/130 using your GitHub 
account

Received on Friday, 20 May 2016 22:24:31 UTC