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

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

From: Takayoshi Kochi <kochi@google.com>
Date: Thu, 10 Mar 2016 16:34:04 +0900
Message-ID: <CADP2=ho3KvXDadU6D6bdKRou89ZyyWWNn0SbKrXryxBxr6i3nw@mail.gmail.com>
To: www-style list <www-style@w3.org>
::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?
-- 
Takayoshi Kochi
Received on Thursday, 10 March 2016 07:35:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:01 UTC