lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV lynx on www.microsoft.com


From: Laura Eaves
Subject: Re: LYNX-DEV lynx on www.microsoft.com
Date: Sat, 3 May 1997 03:51:18 -0400 (EDT)

> Date: Sat, 3 May 1997 01:19:17 -0400 (EDT)
> From: Laura Eaves <address@hidden>
>...
> First case: If the content of an anchor is an img with alt="", why not
> treat that as no alt at all?  (Print the [LINK] string.)  Since the img
> is there, the link is obviously intended to be visible (even if the author
> doesn't care about text-only browsers).

Come to think of it, why is alt="" ever recognized for img tags (anchors aside)?
The code in HTML.c to set the alt_string for img is quite harry -- but it
only tests for alt_string being set, not zero-length.  Why not make alt=""
equivalent to no alt specified?

>...
> With the devel code (new parsing), </b> is never processed, so the rest of the
> page is underlined.  When I hit ^V to use fote's parsing, only the first is
> highlighted.  In either case, all 4 links are there, but only 2 are "visible".
>...
> <html>
> <head><title>testing null links</title>
> </head>
> <body>
> <pre>
> <b><a href="file1.html"></b>a link</a>
> <a href="file2.html"><img src="file.gif" alt=""></a>
> <a href="file3.html"></a>
> <a href="file4.html">another link</a>
> </pre>
> </body>
> </html>

More on parsing:
Checking out http://www.atitech.ca/
both "old" and "new" parsing get rid of the invisible links, but
klaus' parser seems to render the page more like what the author
probably intended, looking at the "non-html".
2.7.1 creates an invisible link [2].

--le

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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