Skip to main content

Bug Tracker

Side navigation

#6824 closed bug (invalid)

Opened July 25, 2010 02:23PM UTC

Closed July 25, 2010 03:20PM UTC

Path of Background Image wrapped by " cause browsers fail to display a image?

Reported by: daveygger Owned by:
Priority: Milestone:
Component: css Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:
Description

I used a script to generate a bunch of <li> and insert them into my page using jquery's prepend() function.

Then, I use jquery's CSS() function to set a background-image for them.

$(".myLi").css(...)

Unfortunately no bg image was showed.

And I found no matter what I enter, what I saw in Firefox's DOM Source of Selection is:

background-image: url("1.jpg");

Thanks for taking time to investigate my problem.

Best,

Davey

Attachments (0)
Change History (2)

Changed July 25, 2010 02:42PM UTC by daveygger comment:1

I found what's going on with my code.

And problem solved.

This is not jQuery's bug but Firefox (I guess).

Thanks.

Changed July 25, 2010 03:20PM UTC by dmethvin comment:2

resolution: → invalid
status: newclosed