Re: [csswg-drafts] [css-anchor-position-2] Proposal: Insertion caret as an anchor (#12752)

This seems like it would be cleanest to do with a pseudo-element, e.g.

```
.my-editable-element::caret {
  anchor-name: --caret;
}
```

Though this idea of having a pseudo-element came up previously in https://github.com/w3c/csswg-drafts/issues/9707#issuecomment-1933199902 and was resolved to stick to adding more `caret-` properties.

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


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

Received on Monday, 8 September 2025 20:25:38 UTC