- From: Hayato Ito <notifications@github.com>
- Date: Sun, 27 Mar 2016 23:40:01 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Monday, 28 March 2016 06:40:28 UTC
I guess such a definition is not what you want. Your definition should consider the following case, I guess.
Suppose focusableX is focused.
```html
<body>
<focusable1></focusable1>
<x-foo>
<focusable2 slot="slot1">
<focusableX></focusableX>
</focusable2> // This is assigned to a slot
<focusable3></focusable3> // This is not assigned to any slots
</x-foo>
</body>
```
x-foo's shadow tree:
```html
<x-bar>
<slot name="slot1" slot="slot2"></slot> // <- focusable2 is assigned to this slot
</x-bar>
<focusable4></focusable4>
```
x-bars shadow tree:
```html
<slot name="slot2"></slot>
```
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/358#issuecomment-202260726
Received on Monday, 28 March 2016 06:40:28 UTC