- From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
- Date: Tue, 08 Oct 2024 19:59:08 +0000
- To: public-css-archive@w3.org
> > Formally, its behavior is the same as specifying an [automatic size](https://drafts.csswg.org/css-sizing-3/#automatic-size) together with a [self-alignment property](https://drafts.csswg.org/css-align-3/#self-alignment-properties) value of [stretch](https://drafts.csswg.org/css-sizing-4/#valdef-width-stretch) So I think this was intended just to be applicable to main sizes, (e.g. not min/max-sizes). IMO this should be consistent with `min-height: 100%`, e.g. if a percentage is indefinite it behaves as zero for `min-height`, and Infinity for `max-height`. (e.g. The Blink/Gecko behaviour). For example it'd be pretty weird if: ``` <!DOCTYPE html> <div style="max-height: stretch; height: 200px; width: 200px; border: solid">lorem ipsum</div> ``` got clamped by the intrinsic size (when `stretch` is an extrinsic constraint). cc/ @tabatkins -- GitHub Notification of comment by bfgeek Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11006#issuecomment-2400712119 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 8 October 2024 19:59:09 UTC