[csswg-drafts] [css-sizing-3] Compressible replaced elements should only compress in the "fixed" dimension. (#10692)

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

== [css-sizing-3] Compressible replaced elements should only compress in the "fixed" dimension. ==
https://drafts.csswg.org/css-sizing-3/#min-content-zero

Currently it says that semi-replaced elements e.g. `<select>` should respect the compressibility rules in both the block & inline directions.

Typically it is desirable to behave the same in both directions, but in this particular case it likely isn't desired.

The compressibility rules exist as the content size of size of these semi-replaced elements are fixed in a particular direction, e.g.
The inline-size of an `<input type="text">` element is fixed, but the block-size isn't.
(Similarly `field-sizing:content` will disable the compressibility rule as well). 

As such - these compressibility rules should only apply when the content-size is fixed in that dimension (and not if they aren't in the other dimension).

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 5 August 2024 18:38:10 UTC