On 22/11/06, Chika <miyuki(a)crashnet.org.uk> wrote:
On 21 Nov, David W Mills <david(a)tenmagpies.demon.co.uk> wrote:
> In message <4e893e0969dhwild(a)talktalk.net> David H Wild
> <dhwild(a)talktalk.net> wrote:
> >In article <08e935894e.ricp(a)user.minijem.plus.com>, Richard Porter
> ><ricp(a)minijem.plus.com> wrote:
> >> If you go to the Transport for London web site at
> >> http://www.tfl.gov.uk/tfl/
you get a whole load of garbage about
> >> marquees just under the site navigation. Should NetSurf be
> >> suppressing this or is it faulty coding on the web page?
> >It doesn't show any such garbage with O2, so there must be some
> >interaction between the coding and Netsurf. I notice that the source
> And here it hung my Iyonix whilst navigating to another page!
So much for website accessibility, something which I thought was an
obligatory part of all government websites these days. Or did I sit
through a lecture on this for nowt?
AFAICT, the problem is actually with NetSurf (sort of).
Normal behaviour for user agents that don't understand HTML tags is to
simply ignore them. In the case of browsers that don't support
scripts, this means displaying verbatim all text between <script> and
be enclosed between '<!--' and '//-->', so that older browsers
hide it as if it was an HTML comment. Since browsers that don't
understand the <script> tag are increasingly rare nowadays, I imagine
that this practice of hiding scripts will die out.
What I don't understand is why NetSurf, which could easily recognise
the text between it and </script>. Perhaps it is purism on the part of