- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Wed, 30 Apr 2025 19:47:19 +0000
- To: public-css-archive@w3.org
I think it's completely nonsensical that `place-self: stretch` does NOT stretch when `place-self: normal` DOES stretch!
```html
<!DOCTYPE html>
<style>
.container {
position: relative;
width: 100px;
height: 100px;
border: solid;
}
.abspos {
position: absolute;
inset: 0;
margin: auto;
border: solid magenta;
}
</style>
<div class="container">
<div class="abspos" style="place-self: normal">foo bar</div>
</div>
<div class="container">
<div class="abspos" style="place-self: stretch">foo bar</div>
</div>
```

Sure, auto margins win in other layouts, but they win over both `normal` and `stretch` alignments.
I prefer abspos layout to be self-consistent rather than making only a few corner cases consistent with other layouts.
--
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11195#issuecomment-2843105598 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 30 April 2025 19:47:19 UTC