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

Re: [whatwg] Document.title for SVG documents

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 05 Feb 2014 14:11:32 +0000
Message-ID: <52F24694.5020903@nag.co.uk>
To: Simon Pieters <simonp@opera.com>, Anne van Kesteren <annevk@annevk.nl>, Ian Hickson <ian@hixie.ch>
Cc: Cameron McCormack <cam@mcc.id.au>, WHATWG <whatwg@whatwg.org>
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>)

David


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
Received on Wednesday, 5 February 2014 14:12:02 UTC

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