W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2009

Questions about access.c

From: aditsu <aditsu@yahoo.com>
Date: Thu, 2 Jul 2009 23:36:59 -0700 (PDT)
Message-ID: <24313470.post@talk.nabble.com>
To: html-tidy@w3.org
[resending after subscribing]

Hi, I was looking through the code, and I found a couple of things that I
didn't quite understand:
- why does GetRgb use strstr with color names?
- when checking for d-links in CheckImage (lines 821 and 852) why does it
use strcmp? doesn't seem to match the comments
- also in CheckImage, what's up with the empty ifs at line 861?
- getTextNode doesn't seem to do anything for non-text nodes, shouldn't the
content traversal be in an "else" branch?

Could somebody take a look?

Thanks
Adrian
-- 
View this message in context: http://www.nabble.com/Questions-about-access.c-tp24313470p24313470.html
Sent from the w3.org - html-tidy mailing list archive at Nabble.com.
Received on Friday, 3 July 2009 09:33:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:59 GMT