[csswg-drafts] [css-scoping] `::slotted` should skip direct children with `display: contents` (#6414)

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

== [css-scoping] `::slotted` should skip direct children with `display: contents` ==
When creating web components/custom elements, the `::slotted` pseudo element is very useful for styling slotted children. However, if such a child has `display: contents`, even though that child has no "presence" in the browser, the `::slotted` styling is still applied to it, instead of the children of the `display: contents` element.

Please change the behavior to `::slotted` skips any direct children with `display: contents`.

https://github.com/w3c/csswg-drafts/blob/9d693a6b2f69b1a34ee39bbb8918ac1ec7137468/css-scoping-1/Overview.bs#L352

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 30 June 2021 09:47:41 UTC