W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

Re: [csswg-drafts] [css-scoping] Consider aligning ::slotted() for fallback content with implementations (#5482)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Wed, 23 Sep 2020 16:10:05 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-697613677-1600877403-sysbot+gh@w3.org>
Looking at this again, yeah, I'm pretty sure I need to, somehow, invoke [find flattened slotables](https://dom.spec.whatwg.org/#find-flattened-slotables) for the purpose of gathering the elements that'll be matched by the `::slotted()`'s selector argument.

That'll mean that `slot` elements never match `::slotted(slot)`; this won't match Safari, but it'll match other parts of their behavior, and match Chrome and Firefox, and I think match the intended mental model better.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 23 September 2020 16:10:06 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:17 UTC