W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Moving <title> to head not clear "in body" (detailed review of parsing algorithm)

From: Henri Sivonen <hsivonen@iki.fi>
Date: Sun, 1 Jul 2007 20:57:00 +0300
Message-Id: <D27B0714-2A0B-40F3-ABB7-D64867CEB02F@iki.fi>
To: "public-html@w3.org WG" <public-html@w3.org>

(This is part of my detailed review the parsing algorithm.)

In the tree construction part of the parsing algorithm, under "in head":
> A start tag token whose tag name is one of: "base", "link", "meta",  
> "script", "style"
>
>     Process the token as if the insertion mode had been "in head".
> A start tag whose tag name is "title"
>
>     Parse error. Process the token as if the insertion mode had  
> been "in head".

Please add a note that says that the "context" concept of the [R] 
CDATA algorithm causes <title> to be moved to <head> here.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Sunday, 1 July 2007 17:57:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:02 GMT