W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2018

Re: [csswg-drafts] Proposal: Add wrapper pseudo element

From: Gavin McFarland via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 Jan 2018 18:55:48 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-356701111-1515610547-sysbot+gh@w3.org>
@tomhodgins I would expect it act just like styling the Shadow DOM works in that it would be invisible and other CSS pseudo selectors would ignore any faux elements represented by CSS selectors, just like `:after` is ignored when manipulating the DOM with JavaScript.

I would expect

```css
.target::wrap {}
```

to only exist for the sake of styling the element it has selected.

-- 
GitHub Notification of comment by mindthetic
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/588#issuecomment-356701111 using your GitHub account
Received on Wednesday, 10 January 2018 18:55:49 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:22 UTC