W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > June 2008

url() relativity... a bug?

From: James Pearce <jpearce@mtld.mobi>
Date: Wed, 18 Jun 2008 15:53:35 +0100
Message-Id: <B8D906D5-4F35-48DF-A1D4-D21062A990EE@mtld.mobi>
To: public-mobileok-checker <public-mobileok-checker@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 18 June 2008 14:54:14 GMT