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

Anne van Kesteren fora at annevankesteren.nl
Mon Dec 12 07:57:10 PST 2005


Quoting dolphinling <dolphinling at myrealbox.com>:
> Okay, it still bugs me that template attributes apply to all elements 
> when I think they should only apply to fieldsets. I do realize though 
> that because of backwards compatibility and because in current 
> browsers there are places fieldset can't go, this is impossible.
>
> However, could it be made so the template attributes only apply to 
> fieldsets and wherever else they need to because of current parsing, 
> as opposed to all elements?
>
> I believe this would mean it applied to fieldset, tr, and li (and 
> perhaps td, though that would be a strange thing to do).

What is the reasoning? I think it is very useful that they apply to every
element, including non-XHTML elements.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>




More information about the whatwg mailing list