- From: Chris Coyier via GitHub <noreply@w3.org>
- Date: Fri, 08 May 2026 13:57:22 +0000
- To: public-css-archive@w3.org
Just wanted to note a thought I had about the placement of the pseudo-elements. It would be neat if they matched the `insertAdjacentHTML` JavaScript API. - beforebegin - afterbegin - beforeend - afterend Right now I think it's basically `afterbegin` for `::before` and `beforeend` for `::after`. But the other two would place the pseudo element *outside* the element. Maybe that would be useful for things like escaping hidden overflow, positioning based on the parent, not being subject to a grid/flex layout, etc. Just a pie-in-the-sky idea, not a huge deal. -- GitHub Notification of comment by chriscoyier Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13860#issuecomment-4406975435 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 8 May 2026 13:57:23 UTC