4 ms·
> It seems to me that the committee who designed this has been confusing what is happening inside the box (flex or not) with what is happening outside the box (
by masklinn 10y ago
> It seems to me that the committee who designed this has been confusing what is happening inside the box (flex or not) with what is happening outside the box (inline or block).
That has nothing do do with "the committee who designed this", the issue has been inherited all the way from CSS 2's inline-block, which defines `display` as a single-value property altering both inner and outer display types.
> Those two behaviors should be orthogonal, IMHO.
Which is why Display Module Level 3 exists https://www.w3.org/TR/css-display-3/#the-display-properties https://www.w3.org/TR/css-display-3/#the-display-properties.
However Display 3 is a Working Draft, and thus not available to flexbox (or grid), so until then they need an inline- prefixed "legacy" value.