Re: [csswg-drafts] [css-sizing-4] min/max size transfers across aspect-ratio (#6071)

This issue seems quite focused on flexbox but browsers don't agree in this basic non-flexbox testcase and I'm not sure who is right. I think https://github.com/w3c/csswg-drafts/issues/6071#issuecomment-2243986313 means that it's WebKit who is right?

```html
<!DOCTYPE html>
<style>canvas { background: #000; aspect-ratio: 1 }</style>
<canvas height="20" width="40" style="height: 19px"></canvas>
<canvas height="20" width="40" style="height: 20px"></canvas>
<canvas height="20" width="40" style="height: 21px"></canvas>
<br>
<canvas height="20" width="40" style="min-height: 19px"></canvas>
<canvas height="20" width="40" style="min-height: 20px"></canvas>
<canvas height="20" width="40" style="min-height: 21px"></canvas>
<br>
<canvas height="20" width="40" style="max-height: 19px"></canvas>
<canvas height="20" width="40" style="max-height: 20px"></canvas>
<canvas height="20" width="40" style="max-height: 21px"></canvas>
<br>
<canvas height="20" width="40" style="width: 39px"></canvas>
<canvas height="20" width="40" style="width: 40px"></canvas>
<canvas height="20" width="40" style="width: 41px"></canvas>
<br>
<canvas height="20" width="40" style="min-width: 39px"></canvas>
<canvas height="20" width="40" style="min-width: 40px"></canvas>
<canvas height="20" width="40" style="min-width: 41px"></canvas>
<br>
<canvas height="20" width="40" style="max-width: 39px"></canvas>
<canvas height="20" width="40" style="max-width: 40px"></canvas>
<canvas height="20" width="40" style="max-width: 41px"></canvas>
```

| Gecko | WebKit | Blink, Servo |
| - | - | - |
| ![](https://github.com/user-attachments/assets/e895b6b1-29ba-4fda-9810-73a3aaa6afbf) | ![](https://github.com/user-attachments/assets/be41f640-d5fa-46bc-86c2-efbe7f937b83) | ![](https://github.com/user-attachments/assets/187d4edf-cc44-4e45-9d48-c23922c98b0f) |

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6071#issuecomment-2438752002 using your GitHub account


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

Received on Friday, 25 October 2024 20:38:21 UTC