W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2014

Re: [whatwg] Document.title for SVG documents

From: Simon Pieters <simonp@opera.com>
Date: Wed, 05 Feb 2014 16:04:14 +0100
To: "Anne van Kesteren" <annevk@annevk.nl>, "Ian Hickson" <ian@hixie.ch>, "David Carlisle" <davidc@nag.co.uk>
Message-ID: <op.xatdhcm3idj3kv@simon-pieterss-macbook.local>
Cc: Cameron McCormack <cam@mcc.id.au>, WHATWG <whatwg@whatwg.org>
On Wed, 05 Feb 2014 15:11:32 +0100, David Carlisle <davidc@nag.co.uk>  
wrote:

> On 05/02/2014 13:24, Simon Pieters wrote:
>>
>> Is there a situation in which it is conforming to use html:title
>> outside the <head> in a document where the root is html:html? In
>> math:annotation-xml?
>
>
> My reading is yes, and validator.nu at least agrees this is valid
>
> <!DOCTYPE html>
> <html>
> <head><title>k</title>
> </head>
> <body>
> aaa
> <math>
> <semantics>
> <mi>x</mi>
> <annotation-xml encoding="text/html"><title>??</title></annotation-xml>
> </semantics>
> </math>
> </body>
> </html>
>
> but unlike the svg case MathML doesn't have any special requirements
> here, and I don't think it would cause problems if any convenient (for
> you) behaviour was defined, or this was declared invalid (and for
> example the valid content of annotation-xml encoding="text/html" was the
> same as that of html <body>)

Yeah, I think that the content model for annotation-xml with  
encoding="text/html" or encoding="application/xhtml+xml" should be flow  
content.

-- 
Simon Pieters
Opera Software
Received on Wednesday, 5 February 2014 15:04:47 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:15 UTC