url() relativity... a bug?

Hi all,

In trying to get http://metajam.mobi to be MobileOK, I think I have a  
bug for you.

   http://validator.w3.org/mobile/?docAddr=http%3A%2F%2Fmetajam.mobi

I have a stylesheet one folder down from the root:

   http://metajam.mobi/g/s.css

Which contains (amongst other things)

   background-image: url('bg.gif');

But the checker is failing because it can't find http://metajam.mobi/bg.gif 
  (or rather that it's getting HTML, aka 404)

According to

   http://www.w3.org/TR/REC-CSS1#url

The image specified is supposed to be relative to the source of the  
stylesheet, not the document.

So the checker should be looking for http://metajam.mobi/g/bg.gif  
right? (Which is where it would have found it ;-) )


James

Received on Wednesday, 18 June 2008 14:54:14 UTC