[csswg-drafts] [css-flexbox-1] To transferred min/max constraints get applied to the min/max main sizes? (#10997)

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

== [css-flexbox-1] To transferred min/max constraints get applied to the min/max main sizes? ==
TL;DR this testcase:

```
<!DOCTYPE html>
<div style="display: flex; width: 100px;">
  <div style="aspect-ratio: 1; max-height: 50px; flex: 1; background: green;"></div>
</div>
```

Should the rect be 100x50 (Firefox/WebKit) or 50x50 (Blink temporarily).

Basically all browsers were previously ignoring the transferred max constraint in this case. Blink shipped an (unintentional) behaviour change and received a bug report about it.

I'm going to change Blink back for the moment, but this case seems un-addressed in the spec currently.

@tabatkins @fantasai 

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


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

Received on Thursday, 3 October 2024 18:27:31 UTC