Parse Error! [ http://www.whatwg.org/specs/web-apps/current-work/#parse ]

Quote

"The error handling for parse errors is well-defined: user agents must either 
act as described below when encountering such problems, or must abort 
processing at the first error that they encounter for which they do not wish to 
apply the rules described"

Franklin

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lachlan Hunt
Sent: Saturday, November 25, 2006 23:59
To: Geoffrey Sneddon
Cc: atom-syntax@imc.org
Subject: Re: Fwd: PaceResurrectAutodiscovery


Geoffrey Sneddon wrote:
> The link element is currently defined as being able to used "In a head 
> element." in HTML5, in the current WD.

I was referring to the way browsers have to handle it in non-conforming 
documents.

| If the insertion mode is "in body"
|    Handle the token as follows:
|    ...
|    A start tag token whose tag name is one of: "base", "link", "meta",
|    "style", "title"
|        Parse error. Process the token as if the insertion mode had
|        been "in head".

That effectively means, no matter where the link element occurs, it has 
to be inserted into the head.

http://www.whatwg.org/specs/web-apps/current-work/#in-body

-- 
Lachlan Hunt
http://lachy.id.au/



Reply via email to