W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2015

[webcomponents] How about let's go with slots?

From: Scott Miles <sjmiles@google.com>
Date: Fri, 15 May 2015 16:58:00 -0700
Message-ID: <CAHbmOLYTg3Lfz+hHE1meZUQ4O8Y7r8Vzg+UqEGrvGCZpmyeizQ@mail.gmail.com>
To: public-webapps <public-webapps@w3.org>
Polymer really wants Shadow DOM natively, and we think the `slot` proposal
can work, so maybe let's avoid blocking on design of an imperative API
(which we still should make in the long run).

As our entire stack is built on Web Components, the Polymer team is highly
motivated to assist browser implementers come to agreement on a Shadow DOM
specification. Specifically, as authors of the `webcomponents-js`
polyfills, and more than one Shadow DOM shim, we are keenly aware of how
difficult Shadow DOM is to simulate without true native support.

I believe we are in general agreement with the implementers that an
imperative API, especially one that cleanly explains platform behavior, is
an ideal end point for Shadow DOM distribution. However, as has been
discussed at length, it’s likely that a proper imperative API is blocked on
other still-to-mature technologies. For this reason, we would like for the
working group to focus on writing the spec for the declarative `slot`
proposal [1]. We're happy to participate in the process.

Received on Friday, 15 May 2015 23:58:27 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:31 UTC