W3C home > Mailing lists > Public > www-style@w3.org > April 2016

Re: [css-scoping] Update ::slotted (section 3.2.3)

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 13 Apr 2016 16:48:17 -0700
Message-ID: <CAAWBYDC6g0smT5WVrjV+cZ84ZtHntcueKMtTWdH9J+VQ1qEjeQ@mail.gmail.com>
To: Takayoshi Kochi <kochi@google.com>
Cc: www-style list <www-style@w3.org>
On Wed, Mar 9, 2016 at 11:34 PM, Takayoshi Kochi <kochi@google.com> wrote:
> ::content is gone, and in Shadow DOM v1 world, ::slotted() will replace it.
>
> The discussion happened here:
> https://github.com/w3c/webcomponents/issues/331
>
> Now it seems the spec update is halfway done.
> https://drafts.csswg.org/css-scoping-1/#content-combinator
>
> * the hash anchor should be #slotted-pseudo :)
> * It is "::slotted()" and takes one compound selector as an argument, and it
> cannot be omitted
> * ISSUE 7 is already resolved (only compound selector is allowed, no
> combinator)
> * EXAMPLE 7 should use slot="..." and <slot name="..."> instead of <content
> select="...">
> * The second paragraph after EXAMPLE 7's HTML example is no longer necessary
>
> Tab, could you update the text?

Done.  This ended up being a pretty big edit to bring the spec in line
with the new concepts in Shadow DOM and toss out the old ones, so I'd
appreciate review.  In addition to the ::slotted section, I updated
section 3.1 and added section 3.1.2 - if you could verify that
everything is correct there, I'd appreciate it.

~TJ
Received on Wednesday, 13 April 2016 23:49:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:43 UTC