[Bug 22443] [Shadow]: Form elements crossing shadow boundary

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22443

Jonas Sicking <jonas@sicking.cc> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonas@sicking.cc

--- Comment #4 from Jonas Sicking <jonas@sicking.cc> ---
I don't think that <input>s in a Shadow DOM should get any special behavior
compared to other <input>s that are not in the document. I.e. I don't think
they should submit with a <form> that lives in a document. 

See my comment in bug 25562 comment 6 for why.

That said, I think that we should implement the system described here
http://lists.w3.org/Archives/Public/public-webapps/2014JanMar/0448.html

And we could even add special features for making it easier to submit <input>s
that live in a Shadow DOM. One way to do that would be to add a .formData
property on DocumentFragment or ShadowRoot. That way the implementation of
.formData on a custom element would simply be

function formData() {
  return this.shadowRoot.formData();
}

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 5 May 2014 23:42:23 UTC