[Bug 24704] @contenteditable, new lines and new paragraphs.

2014-02-21 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24704 Aryeh Gregor a...@aryeh.name changed: What|Removed |Added Status|NEW |RESOLVED

[Manifest] Study on installable web apps

2014-02-21 Thread Marcos Caceres
(bcc'ing SysApps and WebApps) Hi, Over the last week, the WebMob IG did a somewhat large study of installable web apps based on iOS. In the hope that the findings help with standardization of the manifest, I'd like to share the findings and some recommendations with the WGs. If you would

Re: Form submission participation (was Re: Goals for Shadow DOM review)

2014-02-21 Thread Ian Hickson
On Thu, 20 Feb 2014, Jonas Sicking wrote: On Thu, Feb 20, 2014 at 2:51 PM, Edward O'Connor eocon...@apple.com wrote: Yeah, I think we just say that [form.elements] is the legacy feature that only exposes built-in controls. form.getParticipants() works for me. Agreed. [form.elements]

Re: Decoupling style scoped from Shadow DOM

2014-02-21 Thread Ryosuke Niwa
On Feb 20, 2014, at 6:29 PM, Hajime Morrita morr...@google.com wrote: Firefox has already shipped style scoped without Shadow DOM and I guess there is no dependency from scoped style to shadow DOM as the former is done before the later is started. Looks like Firefox supports it since 21.

Re: Form submission participation (was Re: Goals for Shadow DOM review)

2014-02-21 Thread Ryosuke Niwa
On Feb 20, 2014, at 2:51 PM, Edward O'Connor eocon...@apple.com wrote: We could even make the built-in form controls like input and select have a .formData() function which returns data in whatever format we decide is the right one. Right. toFormData() or the like, parallel to toJSON(). Do

Re: Form submission participation (was Re: Goals for Shadow DOM review)

2014-02-21 Thread Maciej Stachowiak
On Feb 21, 2014, at 11:04 AM, Ian Hickson i...@hixie.ch wrote: On Thu, 20 Feb 2014, Jonas Sicking wrote: On Thu, Feb 20, 2014 at 2:51 PM, Edward O'Connor eocon...@apple.com wrote: Yeah, I think we just say that [form.elements] is the legacy feature that only exposes built-in controls.

Re: Form submission participation (was Re: Goals for Shadow DOM review)

2014-02-21 Thread Ryosuke Niwa
On Feb 20, 2014, at 2:39 PM, Jonas Sicking jo...@sicking.cc wrote: On Thu, Feb 20, 2014 at 2:09 PM, Edward O'Connor eocon...@apple.com wrote: +public-webapps, -www-tag in replies to avoid cross-posting Hi, Domenic wrote, to www-tag: [C]an shadow DOM be used to explain existing

RE: Form submission participation (was Re: Goals for Shadow DOM review)

2014-02-21 Thread Domenic Denicola
From: Ryosuke Niwa rn...@apple.com What if we added formparticipant boolean content attribute and fired formdata event during form submission to serialize data? I don't understand the virtue of this inverted model, where controls are responsible for listening to their containing form and

Re: Form submission participation (was Re: Goals for Shadow DOM review)

2014-02-21 Thread Edward O'Connor
Hi, Ryosuke wrote: What if we added formparticipant boolean content attribute and fired formdata event during form submission to serialize data? This way, we can add more events like validate to support more features of builtin form elements. Hmm, right, validation. In the model I have in

Re: Form submission participation (was Re: Goals for Shadow DOM review)

2014-02-21 Thread Jonas Sicking
On Fri, Feb 21, 2014 at 2:28 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 21 Feb 2014, Maciej Stachowiak wrote: I'd guess most sophisticated webapps do not use attribute-based event handlers (as opposed to addEventListener), so they would not get this convenient scoping benefit. That's not

Re: Form submission participation (was Re: Goals for Shadow DOM review)

2014-02-21 Thread Ian Hickson
On Fri, 21 Feb 2014, Maciej Stachowiak wrote: I'd guess most sophisticated webapps do not use attribute-based event handlers (as opposed to addEventListener), so they would not get this convenient scoping benefit. That's not clear to me. I mean, certainly today, with div soup, they don't.

Re: Form submission participation (was Re: Goals for Shadow DOM review)

2014-02-21 Thread Maciej Stachowiak
On Feb 21, 2014, at 2:28 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 21 Feb 2014, Maciej Stachowiak wrote: I'd guess most sophisticated webapps do not use attribute-based event handlers (as opposed to addEventListener), so they would not get this convenient scoping benefit. That's

Re: Form submission participation (was Re: Goals for Shadow DOM review)

2014-02-21 Thread Ryosuke Niwa
On Feb 21, 2014, at 2:12 PM, Edward O'Connor eocon...@apple.com wrote: Ryosuke wrote: What if we added formparticipant boolean content attribute and fired formdata event during form submission to serialize data? This way, we can add more events like validate to support more features of