Re: [csswg-drafts] [css-position] Planning for 'position' being a shorthand (#10069)

My preferred syntax here would be

```
position: <'position-type'> || <'position-anchor'> || / <'position-container'>
```

which could be extended to include `position-area` and `position-try` by appending `<'position-area'> [ , <'position-try'>]?`.

Examples:

```
position: absolute --foo top left, flip-block, top, bottom

position: absolute / --container;

position: absolute --foo / --container left center, right center, bottom, top;
```

Alternatively if we prefer keywords for disambiguating `<custom-ident>`:
```
position: <'position-type'> || to <'position-anchor'> || in <'position-container'> ...
```


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


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

Received on Friday, 27 June 2025 23:16:02 UTC