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 with 1 addition and 1 deletion.
  1. +1 −1 test/data/testsuite.css
@@ -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

This comment has been minimized.

Copy link
Member

jaubourg replied Jul 12, 2012

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

@dmethvin

This comment has been minimized.

Copy link
Member Author

dmethvin replied Jul 12, 2012

@jaubourg

This comment has been minimized.

Copy link
Member

jaubourg replied Jul 12, 2012

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

@cmcnulty

This comment has been minimized.

Copy link
Contributor

cmcnulty replied Jul 12, 2012

Probably rusted in place.

@dmethvin

This comment has been minimized.

Copy link
Member Author

dmethvin replied Jul 13, 2012

@jaubourg

This comment has been minimized.

Copy link
Member

jaubourg replied Jul 14, 2012

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

@curiousdannii

This comment has been minimized.

Copy link

curiousdannii replied Jul 14, 2012

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

@rjgotten

This comment has been minimized.

Copy link
Contributor

rjgotten replied Jul 14, 2012

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.
You can’t perform that action at this time.