Re: META

Glenn Adams (glenn@stonehand.com)
Wed, 5 Jul 95 13:57:11 EDT

[Glenn]
|1. An unknown element encountered within HEAD shall be interpreted as a
|implicit termination of HEAD and shall be interpreted according
|to the content model: <!ELEMENT unknown - O ANY>

[Joe]
|That heuristic will break on future extensions like <STYLE>,
|which can appear in the <HEAD> and has content.

[Glenn]
|Oh? How would STYLE break this heuristic?

[Joe]
|the STYLE start-tag, since it's unknown by 2.0 browsers,
|would by the above heuristic imply </HEAD><BODY>.
|Then the current guidelines for dealing with unrecognized
|elements would apply, and the "...style specification..."
|would be rendered as plain text, which is undesired.

It may be undesired but it wouldn't break my heuristic. I don't
really care too much about what is desired here. What I care about
is whether the HTML spec is clear enough that the resulting behavior
is predictable. Right now I don't believe it is (since it doesn't
state whether or not illegal mixed content in HEAD should be ignored
or should imply start of BODY). My heuristic aimed to achieve a
predictable result and I believe it does.

Glenn