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

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).

-- 
Cheers,

- Gorm Eriksen

Received on Monday, 12 December 2005 09:16:08 UTC