- From: Yves Lafon <ylafon@w3.org>
- Date: Fri, 26 Aug 2005 14:43:35 +0200 (MEST)
- To: "Sergey E. Koposov" <math@sai.msu.ru>
- cc: www-validator-css@w3.org
On Thu, 25 Aug 2005, Sergey E. Koposov wrote: > > Hello, > > I just find a strange behaviour of the validator when using the @import > directive. It was indeed incorrect. > The <head> of the document contains (among other things): > > <head> > <base href="http://lnfm1.sai.msu.ru/~math/"> > <style type="text/css"> > @import "scripts/head.css"; > body { > font-family: "Comic Sans MS",serif; > background-image: url("images/background1.jpg"); > } > div.photo_list > { > font-size: 150%; > } > </style> > </head> > > My document is <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 > Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> and is > successfully validated by the W3C HTML 4.01 Transitional validator. > > But the CSS validator shows me the error: > File not found http://lnfm1.sai.msu.ru/~math/photos/scripts/head.css: > Not Found > > So it searches the css file without using the base_href. > > I found the thread in the mail list archives about the same thing: > http://lists.w3.org/Archives/Public/www-validator-css/2004Feb/0079 > And the reply to that message says that the error will be corrected soon. > > But it seems to me that it was not corrected and we still see the same error > of the validator. Am I right ? Yes and No :) It was corrected for XHTML content, but not for HTML4. It is now fixed in CVS (not yet on the production server). Can you test on http://qa-dev.w3.org:8001/css-validator/ to see if it solves your issue? Best regards, -- Yves Lafon - W3C "Baroula que barouleras, au tiéu toujou t'entourneras."
Received on Friday, 26 August 2005 12:44:58 UTC