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

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

From: dolphinling <dolphinling@myrealbox.com>
Date: Tue, 13 Dec 2005 00:29:20 -0500
Message-ID: <439E5C30.3000700@myrealbox.com>
Gorm Haug Eriksen wrote:
> On Mon, 12 Dec 2005 17:32:41 +0100, dolphinling  
> <dolphinling at myrealbox.com> wrote:
>> Because they're form attributes, they have no relation to anything  
>> except forms. Semantically, there's no reason they *should* apply to 
>> any  non-form elements.
> The title in the specification is a bit strange. Perhaps form should be  
> removed from the chapter title ("3. The repetition model for repeating  
> form controls")?
> You can make any template you like and repeat using:  
> document.getElementById(<repeat-template-id>).addRepetitionBlock(null);
> The feature is very useful without forms and not only form attributes  
> (check 3.6 in the wf2 specification).

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.

Received on Monday, 12 December 2005 21:29:20 UTC

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