|
From: | David Woolley |
Subject: | Re: [Lynx-dev] lynx misrenders many valid xhtml5 pages on my site |
Date: | Sat, 30 Apr 2022 21:09:17 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 |
On 30/04/2022 16:14, Shlomi Fish wrote:
it renders fine on firefox and chromium with pristine userdirs.
Firefox and Chrome are implementations of the WHATWG HTML 5 standard. The first three letters stand for Web HTML Applications. That means they are not primarily designed for documents, but rather for programs that run in the browsers. As such, they implement the language designed for that, including all its scripting features.
Lynx was designed for documents, in the W3C's versions of HTML. Tolerance of the WHATWG standard is just bolted on.
I don't think that WHATWG were really interested in XML versions. They are not really into formal syntaxes. One consequence of this is that there is no DTD. As such, I'm not sure how you can really claim to have validated HTML5 as XML, for more than well formedness.
It seems to me that anyone serving HTML5 as XML is really making some sort of political point, but found it strange that the document in question denied its markup language origins by being all on one line with no optional spaces.
[Prev in Thread] | Current Thread | [Next in Thread] |