[w3c/editing] Safari: `height: 100%` changes layout when the parent height is defined via `aspect-ratio` (Issue #531)

michael created an issue (w3c/editing#531)

Not related to editing, but tracking it here together with a repro.

Consider this markup:

```html
<div style="width: 500px; aspect-ratio: 7882 / 5257;">
  <div style="height: 100%"></div>
</div>
```

In Safari (both on desktop and mobile), the inner div with `height: 100%` leads to a few extra pixels added to the height of the inner and outer div. I suspect some wrong height calculation.

See Repro: https://w3c.github.io/editing/repros/531.html

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/531
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/editing/issues/531@github.com>

Received on Wednesday, 8 April 2026 14:27:35 UTC