On Tue, Feb 4, 2014 at 12:25 AM, Cameron McCormack <[email protected]> wrote: > OK, how about: if the document element is an <html:html>, we choose the > first <html:title> in document order; if the document element is an > <svg:svg>, we choose the first child <svg:title> of the document element; > otherwise, null.
This seems good. > This still is going to produce "incorrect" results for things like: > > <!DOCTYPE html> > <svg> > <foreignObject> > <title>blah</title> > </foreignObject> > </svg> 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.) -- http://annevankesteren.nl/
