Re: [csswg-drafts] [css-pseudo] Add a ::contents pseudo-element

For me, `::contents` doesn't seem to imply non-element contents only, it can refer to _any_ kind of contents of the element (just like it does in the `display:contents` case). `::inside` itself sounds good, but being contrast to `::before`/`::after` it can seem to imply that those two are _not inside_ the element, also leading to the possible confusion. For text-only contents, something with `text-` in the name would be more straightforward (see #2208).

`::prepend` and `::append` probably should be the better names for `::before` and `::after` themselves, but renaming them seems now impossible.

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

Received on Wednesday, 7 March 2018 12:20:47 UTC