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

Re: Proposal for changes to manage Shadow DOM content distribution

From: Dimitri Glazkov <dglazkov@google.com>
Date: Tue, 21 Apr 2015 21:54:16 -0700
Message-ID: <CADh5Ky0tPFf3OvfGVrjCPcKbAwBrk5g-s2OJ3cR99iHeo+vgZw@mail.gmail.com>
To: Daniel Freedman <dfreedm@google.com>
Cc: Ryosuke Niwa <rniwa@apple.com>, WebApps WG <public-webapps@w3.org>, "Edward O'Connor" <eoconnor@apple.com>, Jan Miksovsky <jan@component.kitchen>
On Tue, Apr 21, 2015 at 9:43 PM, Daniel Freedman <dfreedm@google.com> wrote:

> Hi Ryosuke,
>
> I want to start by thanking you, Ted, and Jan for taking the time to make
> this proposal.
>
> I read through the proposal, and had a quick question about how
> redistribution should work with this slot concept.
> I created a quick <date-range-combo-box> example that would take two date
> inputs (start date and end date) and distribute them through the example
> <date-combo-box>, but I found myself stuck.
> I can't name the two date inputs with the same slot or they will end up in
> only one of the <date-combo-box> content elements, but <date-combo-box>
> only takes inputs with slot "inputElement".
>
> How should this work?
>
> I drafted a quick gist to illustrate this:
> https://gist.github.com/azakus/676590eb4d5b07b94428
>

Maybe there could be something like a simple routing scheme for these cases?
https://gist.github.com/dglazkov/7d6acd4c205a58054a7c

:DG<
Received on Wednesday, 22 April 2015 04:54:45 UTC

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