[csswg-drafts] [css-align] Percentage gaps are underspecified

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

== [css-align] Percentage gaps are underspecified ==
The [relevant spec text](https://drafts.csswg.org/css-align-3/#propdef-column-gap) says:

> Percentages resolve to zero when specified against a content-based size [...]

It's unclear to me what that means for `calc()`-expressions with percentage terms.  For example, say we have an inline-grid with two columns, 50px each, and `grid-column-gap: calc(10px + 20%)`. 

My interpretation is that 20% ("Percentages") resolves to zero, and thus the gap resolves to 10px during intrinsic sizing, and thus the inline-size of the container is 110px. Is that correct?
Or should the entire  `calc()`-expression resolve to zero?

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

Received on Saturday, 10 February 2018 04:59:51 UTC