Re: [csswg-drafts] [css-sizing][quirks] Should `stretch` be affected by percentage height calculation quirk? (#12421)

The testcase you have isn't actually the percentage height quirk rather:
https://quirks.spec.whatwg.org/#the-body-element-fills-the-html-element-quirk

Basically the <body> element fills the ICB, and then the element stretches to that definite height.

(That quirk is as-if html & body have height:stretch by default - kinda).

A better test would be:
```
<!-- quirks -->
<div>
  <div style="height: -moz-available; height: -webkit-fill-available; height: stretch; background: cyan">foo</div>
</div>
```

And blink doesn't stretch.


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


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

Received on Tuesday, 1 July 2025 19:53:44 UTC