[whatwg] Document.title for SVG documents

Simon Pieters simonp at opera.com
Wed Feb 5 05:24:26 PST 2014


On Tue, 04 Feb 2014 18:15:16 +0100, Ian Hickson <ian at hixie.ch> wrote:

> On Tue, 4 Feb 2014, Anne van Kesteren wrote:
>>
>> Given that this does not define a html:title in html:head it's
>> non-conforming anyway so that seems fine. (I'm assuming we're using HTML
>> parsing rules of today.)
>
> The spec actually allows <title> to be ommitted in a number of cases,  
> e.g.
> srcdoc documents, and we may extend this in the future (e.g. documents
> intended only for use in <iframe>s).

But the given snippet is still non-conforming because html:title is not  
allowed in svg:foreignObject per  
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#svg-0

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?

-- 
Simon Pieters
Opera Software



More information about the whatwg mailing list