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

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.

-- 
dolphinling
<http://dolphinling.net/>

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