lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] lss weirdness on <div class="contents">


From: Jude DaShiell
Subject: Re: [Lynx-dev] lss weirdness on <div class="contents">
Date: Thu, 31 Dec 2015 16:35:10 -0500 (EST)
User-agent: Alpine 2.11 (NEB 23 2013-08-11)

this is one instance in which sighted people would find ignore web page colors setting as an accessibility setting useful. I forget whether lynx has this available but many of the commercial browsers can do it.



--
On Thu, Dec 31, 2015 at 08:10:57AM +0000, Thorsten Glaser wrote:
> Thomas Dickey dixit:
> 
> >That's a feature... of the color-style (which usually is an improvement
> >over the non-color-style).
> 
> Well anything with (dark) blue and black is hard to read,
> so it shouldn’t match anything random, only those where
> it is explicitly specified.
> 
> >That is, the combination of "div" and "contents" happens to match the
> >hashcode for "em.a".
> 
> Eh, what?

The color-style code (always has) computes a hash code for the tags
and matches on the hash code.  Since the hash table is only a few thousand
items, collisions will happen.  (The program doesn't followup with a
string-comparison after matching the hash -- I seem to recall some limitation
which would allow that).

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Lynx-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lynx-dev

reply via email to

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