W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: [webcomponents] HTML Parsing and the <template> element

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 26 Jun 2012 13:19:40 -0700
Message-ID: <CAAWBYDCF64ht+QYge1ii1DpN1N=HnLWvjFuxs7AQODF8KCogmw@mail.gmail.com>
To: Elliott Sprehn <esprehn@gmail.com>
Cc: Rafael Weinstein <rafaelw@google.com>, Henri Sivonen <hsivonen@iki.fi>, Ian Hickson <ian@hixie.ch>, public-webapps <public-webapps@w3.org>, Simon Pieters <simonp@opera.com>
On Tue, Jun 26, 2012 at 1:03 PM, Elliott Sprehn <esprehn@gmail.com> wrote:
> Silly question but why not specify the template element as if it's contents
> were PCDATA, and the document fragment is the "value". Then this whole thing
> isn't really any different than a <textarea>.

Because you can't nest <textarea> inside of itself, but we want
templates to be nestable.

Received on Tuesday, 26 June 2012 20:20:29 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:41 UTC