Jorge wrote:
On Sun, Feb 15, 2009 at 11:11:59PM +0000, corvid wrote:
Jorge wrote:
summary: Fixed handling of META's content-type with no MIME type (e.g. only charset).
Is that legal? It doesn't sound legal.
Verbatim from HTML-4.01 SPEC:
META: [...] content = cdata [CS]
This attribute specifies a property's value. This specification does not list legal values for this attribute.
Right, MIME types are specified elsewhere and not here in the HTML spec. I imagine this has to do with furaisanjin's "'", and a quick look into the spec suggests that should be getting turned into a "'" if it's an attr. I'll see if I can find what's going on there. PS I was just recently trying to figure out exactly whether quoted attributes can contain '<' or '>', and it's amazing how hard it can be to get a straight answer from the spec sometimes. (I think quite possibly so, but they started talking about CDATA for the content of script and style tags in a way that made the whole thing sort of unclear to me.)