- From: Rune Lillesveen via GitHub <sysbot+gh@w3.org>
- Date: Mon, 04 Dec 2023 13:49:49 +0000
- To: public-css-archive@w3.org
> 2. `auto` insets always compute to 0 when `inset-area` is non-`none`.
Is that really better than authors having to set insets to 0 explicitly?
Isn't it more common to have a specified size, or intrinisic sizing for the anchored element where you would want the insets to be `auto` and let the anchored element be positioned according to the alignment given by the inset-area spans? In that case you would have to force some insets back to `auto`.
Example:
```css
#anchored {
inset-area: top / left;
bottom: 10px;
right: 10px;
/* resetting left/right necessary if insets are set to 0 by inset-area */
left: auto;
right: auto;
}
```
Actually, "`auto` insets always compute to 0" wouldn't make my example above work at all.
--
GitHub Notification of comment by lilles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9598#issuecomment-1838681245 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 4 December 2023 13:49:51 UTC