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

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

From: Erik Arvidsson <arv@chromium.org>
Date: Tue, 24 Apr 2012 14:21:10 -0700
Message-ID: <CAJ8+GoijQivsPbQZkYqLUqQaQW44D2yuMeW0RP7tRcm4vOXPJg@mail.gmail.com>
To: Scott González <scott.gonzalez@gmail.com>
Cc: Brian Kardell <bkardell@gmail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Clint Hill <clint.hill@gmail.com>, Rafael Weinstein <rafaelw@google.com>, Ryosuke Niwa <rniwa@webkit.org>, Yuval Sadan <sadan.yuval@gmail.com>, public-webapps <public-webapps@w3.org>
On Tue, Apr 24, 2012 at 12:00, Scott González <scott.gonzalez@gmail.com> wrote:
> Are there other use cases that are trying to be solved with <template>?

3. Inert. You don't want to fetch resources at unresolved URLs.

<img src="/images/${user}.png">

4. Selectors should not match content of the template

both of these works fine with <script type="text/x-this-is-a-hack">

-- 
erik
Received on Tuesday, 24 April 2012 21:21:59 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:52 GMT