Re: W3C css parser

2014-09-25 12:29, Djordje Zurovac wrote:

> My with php generated pages use a combination of multiple css files,
> as can be seen from the header of resulting html file. But your parser
> reflect the first one only. Surely would not be a problem to extend it to
> control all of the in the page findet css files.

As far as I can see, that’s what the W3C CSS Validator does. If you 
submit the URL of an HTML file, it will parse the HTML code to recognize 
<link> elements that refer to style sheets, then check all of them.

I cannot guess why that does not happen in your case. When I tested the 
code fragment in the question, the validator happily tried to fetch each 
of the style sheets linked to. Do you see some error messages about not 
finding the linked resource? Can you post the URL of a page that 
demonstrates the problem?

Yucca

Received on Thursday, 25 September 2014 13:07:59 UTC