- From: Gavin McFarland via GitHub <sysbot+gh@w3.org>
- Date: Tue, 17 Apr 2018 22:15:50 +0000
- To: public-css-archive@w3.org
> In your original example, the green and the red aren't being specified on the same element, so there's no specificity issue.
Are they not being specified on the same element?
```
/* Parent custom element */
:slotted(*) {
color: green;
}
```
targets the same element that
```
/* Child custom element */
:host {
color: red;
}
```
does?
The child element is the slotted element of the parent.
Perhaps it's confusing things because I am using an example property which is inherited? This would still be an issue if it was using `margin` for example.
--
GitHub Notification of comment by mindthetic
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2290#issuecomment-382172803 using your GitHub account
Received on Tuesday, 17 April 2018 22:15:57 UTC