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 <[email protected]> http://invisible-island.net ftp://invisible-island.net
signature.asc
Description: Digital signature
_______________________________________________ Lynx-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lynx-dev
