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

Re: Model-driven Views

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 27 Apr 2011 11:56:06 -0700
Message-ID: <BANLkTinRXuj+J2E7Ha=c-ShTzsKdNT7EMA@mail.gmail.com>
To: Olli@pettay.fi
Cc: Erik Arvidsson <arv@chromium.org>, Rafael Weinstein <rafaelw@google.com>, public-webapps@w3.org
On Wed, Apr 27, 2011 at 11:47 AM, Olli Pettay <Olli.Pettay@helsinki.fi> wrote:
> On 04/27/2011 09:13 PM, Erik Arvidsson wrote:
>> 1. We want<template>  to be able to contain arbitrary content that is
>> used as the content of the instances that are created from it. Now
>> assume that the template element contains some active content such as
>> <audio autoplay>, script or simply just an image. We don't want the
>> audio to start playing, we don't want the script to run inside the
>> template element and we don't want the image to be requested at this
>> point.
>
> <audio> works even if it is not in document, and so
> does <img>.
> But I see the problem you're trying to avoid.

Yeah, we basically just want the actual nodes inside of <template> to
be "dead", since their only purpose is to be cloned when you create
"real" DOM from the template.  How precisely this is accomplished is
more-or-less irrelevant at this point.

~TJ
Received on Wednesday, 27 April 2011 18:56:57 GMT

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