W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2005

[whatwg] [wf2] Restrict template attributes to only fieldset, tr, and li?

From: Gorm Haug Eriksen <gormer@opera.com>
Date: Tue, 13 Dec 2005 13:32:25 +0100
Message-ID: <op.s1p2gbb7m2jbu9@id-co278.oslo.opera.com>
On Tue, 13 Dec 2005 06:29:20 +0100, dolphinling  
<dolphinling at myrealbox.com> wrote:

> What exactly is it useful for? Maybe my mind's being constrained by what  
> I see it as currently, but I can't think of any cases where you'd want  
> to let a user cause parts of a document to be repeated.

I'm thinking about using it without user interaction to dynamically  
(JavaScript) build lists of repeating items from a template. Imagine a RSS  
reader that populates items from JavaScript. Having the markup as a  
template in the markup seems cleaner than building it up using DOM from  
the JavaScript code. I'm not really sure if it would give any benefits  
though. A designer would still need to modify JavaScript if he changes the  

The movement of repetition blocks also makes sense for ordering content  
without form elements.


- Gorm Eriksen
Received on Tuesday, 13 December 2005 04:32:25 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:44 UTC