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

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

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 19 Dec 2005 22:16:43 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0512192213120.17886@dhalsim.dreamhost.com>
On Mon, 12 Dec 2005, dolphinling wrote:
> > 
> > What is the reasoning? I think it is very useful that they apply to 
> > every element, including non-XHTML elements.
> 
> 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.

If I'm writing a story (with contenteditable), and I have some UI to add 
more paragraphs (that interacts directly with the DOM for the repetition 
stuff, even), then they could apply without any forms present at all.


> If HTML were namespaced

FWIW, as of HTML5, it is.


> I would say that form elements should be in their own namespace.

I'm not sure what you mean here.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 19 December 2005 14:16:43 UTC

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