Re: [csswg-drafts] [css-anchor-1] Reusing the implicit anchor name on the nested elements (#8913)

I like the idea of a `::before` and `::after` having the same implicit originating element. Given that very often we could want to use those elements for things like popover arrows, it would be useful.

Though, in some cases we could want a more complicated structure, where we would have to use an actual extra element. In that case the proposal which would make the `inherit` getting the actual element from the parent sounds even better, and could be also used for the pseudo-elements.

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


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

Received on Tuesday, 13 June 2023 19:46:36 UTC