Re: Web Components: two questions

2014-09-11 Thread Hayato Ito
On Thu Sep 11 2014 at 4:04:27 PM Hayato Ito wrote: > On Thu Sep 11 2014 at 3:25:01 PM Ondřej Žára > wrote: > >> > 1) Are form elements (input, select, textarea) inside a shadow dom >> > considered when submitting a form? >> > >> > >> > The Shadow DOM spec doesn't say anything about this.

Re: Web Components: two questions

2014-09-11 Thread Ondřej Žára
The short answer to whether inside shadow root under a will be sent or not is "No". The "node tree" mentioned in Hayato's mail means that and belong to different trees. Sweet, thanks for explanation. (Now only the second question remains...) Sincerely, O. Zara 2) I am h

Re: Web Components: two questions

2014-09-11 Thread Hayato Ito
On Thu Sep 11 2014 at 3:25:01 PM Ondřej Žára wrote: > > 1) Are form elements (input, select, textarea) inside a shadow dom > > considered when submitting a form? > > > > > > The Shadow DOM spec doesn't say anything about this. Therefore, > > form elements should be in the same node tree.

Re: Web Components: two questions

2014-09-11 Thread 河内 隆仁
Ondrej, The short answer to whether inside shadow root under a will be sent or not is "No". The "node tree" mentioned in Hayato's mail means that and belong to different trees. Only elements in the same tree as will be considered for submission. So you don't have to worry about backward com

Re: Web Components: two questions

2014-09-10 Thread Ondřej Žára
1) Are form elements (input, select, textarea) inside a shadow dom considered when submitting a form? The Shadow DOM spec doesn't say anything about this. Therefore, form elements should be in the same node tree. For example, suppose a element is in the node tree A. In this case, form

Re: Web Components: two questions

2014-09-10 Thread Hayato Ito
On Wed Sep 10 2014 at 8:26:43 PM Ondřej Žára wrote: > Hi, > > unable to seek a qualified answer via IRC or Web/spec, I decided to post > my two beginner questions here. > > 1) Are form elements (input, select, textarea) inside a shadow dom > considered when submitting a form? > > The Shadow DOM s

Web Components: two questions

2014-09-10 Thread Ondřej Žára
Hi, unable to seek a qualified answer via IRC or Web/spec, I decided to post my two beginner questions here. 1) Are form elements (input, select, textarea) inside a shadow dom considered when submitting a form? 2) I am having troubles with lifecycle callback of custom elements that are clo