[whatwg] WA1: <meta> attribute requirements
sjoerd at w3future.com
sjoerd at w3future.com
Mon Jul 18 09:30:34 PDT 2005
>> It would mean that leaving the attribute out violates a conformance
>> requirement, making the document non-conformant.
>
> ...the advantage of which being...?
>
> I don't understand the point in making this code:
>
> // this element will be used later
> var meta = document.createElement('meta');
>
> ...non-conformant.
Elements cannot be validated until they are inserted in the document,
because the type depends on the position in the document.
I'd say it is non-conformant to add a meta element without attributes to a
document.
--
Sjoerd Visscher
http://w3future.com/weblog/
More information about the whatwg
mailing list