Re: [csswg-drafts] [css-position-3][css-align-3] Clarify interaction of auto insets and self-alignment (#11902)

As mentioned in https://github.com/w3c/csswg-drafts/issues/11195#issuecomment-2807770598, where does the "nor [margins](https://drafts.csswg.org/css-box-4/#margin) in that axis are auto" come from?

Browsers still allow stretching even if margins are auto:

```html
<!DOCTYPE html>
<style>
body { transform: scale(1); border: solid; width: 200px; height: 200px; }
.abs {
  position: absolute;
  place-self: stretch;
  inset: 0;
  margin-block: auto;
  margin-inline: auto 0;
  background: lime;
}
</style>
<div class="abs">Test</div>
```

![](https://github.com/user-attachments/assets/6633e489-576e-4345-a5ea-53c65406a4a7)





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


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

Received on Tuesday, 15 April 2025 23:42:48 UTC