-----BEGIN PGP SIGNED MESSAGE-----
At 01:33 PM 02/08/97 +0200, Chris Lilley wrote:
>On Jul 29, 10:52pm, Liam Quinn wrote:
>
>> CSSCheck currently supports CSS1 and CSS Positioning. Support for CSS
>> Printing, ACSS, and Web Fonts will be added in the coming weeks.
>
>The warnings sometimes have false positives. For example
>
>P {color: black }
>P {background: white }
>
>gives two warnings, one that color was set without background and
>one that background was set without color.
Yes, I was aware of this problem, but I was hesitant to solve it since
it'd require (AFAICT) an extra pass through the style sheet. I've now
fixed the problem with a two-pass approach to parsing the style sheet, but
the processing time has increased by about 75%. I'm wondering if the
extra accuracy is worth that much time.
I can eliminate one of the above false warnings without increasing the
processing time from what it was, but for true accuracy I need two passes
through the style sheet.
>In an ideal world, of course, it would read all the style sheets that
>were linked (directly or indirectly) to a document, and any inline
>style attributes, cascade them, and analyse the result.
In an ideal world, I'd be a more experienced programmer :) Extending the
lint to scan HTML documents has always been in the back of my head, but I
think it'll stay there awhile longer since the current CSSCheck is
somewhat slow. (But maybe this way style sheet authors will be encouraged
to use external style sheets instead of embedded or inlined style.)
>However, what you have there is very impressive and useful to the
>authoring community.
Thanks, I just hope it's fast enough to be useful to the authoring
community.
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQB1AwUBM+QFiw/JhtXygIx1AQHOTwMAh4IIG1CyYAf4S8ErhvUPTap4ZqhbYwRS
+UX8/yJTfyShR8poofF0+oTEvKs2uLOYHZFNEy/EMJwXtTACtZcQ10/i0WS4C9we
fSjEcIaqqO9FfoJ7bp266sJGAYGYacXz
=sJWG
-----END PGP SIGNATURE-----
Liam Quinn
=============== http://www.htmlhelp.com/%7Eliam/ ===============
Web Design Group Enhanced Designs, Web Site Development
http://www.htmlhelp.com/http://enhanced-designs.com/
====== PGP Key at http://www.htmlhelp.com/%7Eliam/pgp.html =====