[whatwg] WA1: <meta> attribute requirements
Ian Hickson
ian at hixie.ch
Mon Jul 18 12:31:13 PDT 2005
On Mon, 18 Jul 2005 sjoerd at w3future.com wrote:
> >>
> >> 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.
I don't see why you can't validate an orphan fragment. Clearly the spec
needs to be clarified a bit, but it doesn't seem impossible.
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list