[csswg-drafts] [css-align] percentage gap definition should be clearer for the block direction (#4664)

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

== [css-align] percentage gap definition should be clearer for the block direction ==
https://drafts.csswg.org/css-align-3/#propdef-row-gap

Consider this testcase:
https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=7659
Should the flexbox height (the black border) expand to include the full flex line?

There is an indefinite height. The pre-gap flexbox height would be 100px. What Firefox does is compute the gap at 50% * 100px = 50px, so the content is now 150px high, but it keeps the flexbox height at 100px.

The spec should be clearer on how this works:
- Should percentages resolve against an indefinite height?
- If yes, should it affect the intrinsic block size of the flex container?

cc @dholbert 


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

Received on Friday, 10 January 2020 17:50:48 UTC