[csswg-drafts] [css-shadow-parts][css-pseudo] ::part* and *::before* and *::after* pseudo elements (#3510)

frivoal has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-shadow-parts][css-pseudo] ::part* and *::before* and *::after* pseudo elements ==
(Split from issue #3467, reported by @stefsullrew)

It appears the `::before` and `::after` pseudo elements/selectors do not function with *::part*. Is this intentionally blocked, if so why? If not are there plans to add this functionality in the future?

```
// add an asterisk prefix to the title part
x-foo::part(title)::before {
    content: '*';
    color: red;
    margin-right: 0.25rem;
}
```


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3510 using your GitHub account

Received on Monday, 14 January 2019 03:00:25 UTC