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

Re: url() relativity... a bug?

From: James Pearce <jpearce@mtld.mobi>
Date: Wed, 18 Jun 2008 16:06:38 +0100
Cc: "public-mobileok-checker" <public-mobileok-checker@w3.org>
Message-Id: <83F57A32-A344-4F24-B6FC-A8B16A662C08@mtld.mobi>
To: "James Pearce" <jpearce@mtld.mobi>
Incidentally I fixed my paths to be absolute now (in case you look) -  
but the issue still remains and a simple test app would prove it.

JP


On 18 Jun 2008, at 15:53, James Pearce wrote:

>
> 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 15:07:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 18 June 2008 15:07:20 GMT