Re: Imperative API for Node Distribution in Shadow DOM (Revisited)

Yeah, we, in Google, had several discussion about how the next *Selection
APIs* should be. However we don't have any concrete proposals yet.
We are aware that we need the new APIs because the existing APIs is not
suitable.

On Thu, May 7, 2015 at 3:10 PM Elliott Sprehn <esprehn@chromium.org> wrote:

> On Wed, May 6, 2015 at 11:08 PM, Anne van Kesteren <annevk@annevk.nl>
> wrote:
>
>> On Thu, May 7, 2015 at 6:02 AM, Hayato Ito <hayato@chromium.org> wrote:
>> > I'm saying:
>> > - Composed tree is related with CSS.
>> > - Node distribution should be considered as a part of style concept.
>>
>> Right, I think Ryosuke and I simply disagree with that assessment. CSS
>> operates on the composed tree (and forms a render tree from it).
>> Events operate on the composed tree. Selection operates on the
>> composed tree (likely, we haven't discussed this much).
>
>
> Selection operates on the render tree. The current selection API is
> (completely) busted for modern apps, and a new one is needed that's based
> around layout. Flexbox w/ order, positioned objects, distributions, grid,
> none of them work with the DOM based API.
>
> - E
>

Received on Thursday, 7 May 2015 06:16:29 UTC