Re: [csswg-drafts] [css-position-3] Incorrect handling of auto inset properties in absolute positioning (#11242)

>It works, see some examples in https://github.com/servo/servo/issues/34226

This _doesn't work_ in Chrome, which is the entire point of this issue.

```html
<!DOCTYPE html>
<div style="position: relative; width: 100px; height: 100px; border: 3px solid">
  <div style="position: absolute; align-self: center; justify-self: center; background: cyan; height: 25px; width: 25px; inset: auto 0 0 auto"></div>
</div>
```
![chrome](https://github.com/user-attachments/assets/29c07a46-fc6e-40db-8ee4-08de2d5491b0)

>The CSS Snapshot 2024 classifies it as a ["module with rough interoperability"](https://drafts.csswg.org/css-2024/#rough-interop)

Understood.

In the meantime, I think I’ll stick to what has been tested and proven to work.

![css2](https://github.com/user-attachments/assets/07c7c6cd-94d7-45a0-91c9-915e230a105e)



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


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

Received on Wednesday, 20 November 2024 19:10:38 UTC