- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Tue, 17 Dec 2024 20:42:01 +0000
- To: public-css-archive@w3.org
Similar testcase, not much conclusive since only Chrome supports `align-self: stretch` on replaced abspos.
```html
<!DOCTYPE html>
<style>
.wrapper { position: relative; width: 50px; height: 50px; border: solid; margin: 5px }
canvas { position: absolute; top: 0; bottom: 0; align-self: stretch; background: cyan; }
</style>
<div class="wrapper">
<canvas width="25" height="25"></canvas>
</div>
<div class="wrapper">
<canvas width="25" height="25" style="height: -moz-available; height: -webkit-fill-available; height: stretch"></canvas>
</div>
<div class="wrapper">
<canvas width="25" height="25" style="height: min-content"></canvas>
</div>
<div class="wrapper">
<canvas width="25" height="25" style="height: max-content"></canvas>
</div>
```
| Firefox | Chrome | WebKit | Servo |
| - | - | - | - |
|  |  |  |  |
--
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11387#issuecomment-2549582399 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 17 December 2024 20:42:02 UTC