On Wed, Jan 28, 2015 at 11:24 AM, Soledad Penadés <[email protected]> wrote: > Can you use a polyfill in the meantime? There is a polyfill for enabling > only the custom element registration part > http://webcomponents.org/polyfills/custom-elements/
I would prefer to not add that layer if possible. Our custom element use so far is light (just custom-named divs with extra properties attached) and we have had a way to modularize our UI, so not a deal-breaker if we cannot use custom elements. I also want to target serializing the HTML for some cards used as in entry points served by service workers, for fast startup. This will mean if using custom elements, constructing them in very idiomatic ways, so being able to reuse today's off the shelf components would not be one of the main drivers for the custom elements. --- Separately, I was informed off-list that perhaps dev-platform is a better place to post this question, so I did so there: https://groups.google.com/forum/#!topic/mozilla.dev.platform/zdYYVi-ayIU It might be best to continue further discussion on that list. Apologies for the initial fuzzy list targeting. Off-list I was also pointed to https://wiki.whatwg.org/wiki/CustomElements that might have some useful background information. James _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
