- From: Simon Pieters <simonp@opera.com>
- Date: Tue, 21 Aug 2007 16:14:58 +0200
- To: public-html <public-html@w3.org>
On Wed, 11 Jul 2007 12:06:20 +0200, Simon Pieters <simonp@opera.com> wrote:
[...]
> If we want to be more like IE, then I'd suggest the following spec text:
>
> The head element of a document is the first head element that doesn't
> have a body [or frameset] element ancestor.
>
> The title element of a document is the first title element that
> doesn't
> have a body [or frameset] element ancestor.
However, IE moves title elements found in body to head in the HTML parser.
HTML5 says to do this as well, currently. But if we want to change the
parser to not move title elements to head [1], then the definition might
instead need to be:
The title element of a document is the first title element.
...because some pages might well have <title> tags in body and expect them
to work as titles. If we do this, "the head element" doesn't seem to be
needed at all.
> [...]
[1]
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2007-July/012172.html
--
Simon Pieters
Opera Software
Received on Tuesday, 21 August 2007 14:15:17 UTC