Skip to content
Permalink
Browse files
Image location is relative to css file, not html file.
  • Loading branch information
dmethvin committed Jul 12, 2012
1 parent 8f1f88a commit 2d09e9a325c730c31ada7b68fa46e345ac5535e0
Showing 1 changed file with 1 addition and 1 deletion.
@@ -128,4 +128,4 @@ body, div { background: url(http://static.jquery.com/files/rocker/images/logo_jq
section { background:#f0f; display:block; }

/* #11971 */
#foo { background: url(data/1x1.jpg) right bottom no-repeat; }
#foo { background: url(1x1.jpg) right bottom no-repeat; }

8 comments on commit 2d09e9a

@jaubourg
Copy link
Member

@jaubourg jaubourg commented on 2d09e9a Jul 12, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought that wasn't true for old IEs. Am I remembering wrong?

@dmethvin
Copy link
Member Author

@dmethvin dmethvin commented on 2d09e9a Jul 12, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jaubourg
Copy link
Member

@jaubourg jaubourg commented on 2d09e9a Jul 12, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, my "It's IE's fault" alarm is probably stuck on the ON button :/

@cmcnulty
Copy link
Contributor

@cmcnulty cmcnulty commented on 2d09e9a Jul 12, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably rusted in place.

@dmethvin
Copy link
Member Author

@dmethvin dmethvin commented on 2d09e9a Jul 13, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jaubourg
Copy link
Member

@jaubourg jaubourg commented on 2d09e9a Jul 14, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dmethvin Nope, doesn't ring a bell. Probably my memory being french, not that it would be breaking anyway, right?

@curiousdannii
Copy link

@curiousdannii curiousdannii commented on 2d09e9a Jul 14, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If such a bug existed in IE6-8 then that's what we'd be using now...

@rjgotten
Copy link
Contributor

@rjgotten rjgotten commented on 2d09e9a Jul 14, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is one such bug, even in IE9 (and probably 10 as well...) :
IE resolves relative URLs in custom mouse cursors using the HTML document as the root URL, rather than the CSS file.

Please sign in to comment.