[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] bug: lynx parses <title> from SVG inside <body> as docume

From: David Woolley
Subject: Re: [Lynx-dev] bug: lynx parses <title> from SVG inside <body> as document <title> even outside of HTML <head>
Date: Sun, 17 May 2015 12:32:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0

On 16/05/15 23:02, Thorsten Glaser wrote:
Subject says all, I know, but Subject is not the place for it, so:

Assume a document like this:


Isn't it more correct to say that processes title when, invalidly present outside a head section.

The <svg> is a red herring, and is, I think invalid, as there is no namespace change specified, and the document is not XML.

It was a design aim of the original HTML that tags around unknown elements could be ignored with the result being to fail degraded, so this should be rendered the same as if there were no <svg> at all. Where it is going wrong is that the title element tags should also be ignored, so "bar" should render in the contents, not as the page title.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]