Re: [webcomponents] [Shadow]: Focus navigation in distributed content (#103)

Thanks for example, it explains a lot.

Please disregard my previous question, I just wasn't sure if "HOST" refers to a tree or a node, but specs clearly says "shadow host is an element..".

I've made a test for my case: https://gist.github.com/tomalec/3129b2474ff496c75fdc, and [line 52](https://gist.github.com/tomalec/3129b2474ff496c75fdc#file-distribution-order-test-html-L52) is the one that confused me most in the begging. So the fact that:

 - shadow tree nodes are handled according to the same rules,
 - content distribution nodes are non-focusable so they does not change focus navigation, distributed nodes are part of document tree scope.

What was not so intuitive, that `<content>` tag affects focus navigation, as only distributed nodes take part, but cannot change the order as regular DOM.


BTW, you have a typo in Blink test `sahdow` -> `shadow`, `travese` -> `traverse`

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/103#issuecomment-106807255

Received on Friday, 29 May 2015 13:49:01 UTC