Ticket #11063 (closed bug: wontfix)
.css('background-image') method is not fully normalized across webkit vs ff.
| Reported by: | lee.cardona@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | css | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
doing a console.log shows that webkit returns the url value without quotes i.e. url(value). while FF's Gecko returns -> url("value"). if your testing against the returned value you need to code extra to account for this across the browsers. using version 1.7.1
Change History
comment:1 Changed 18 months ago by rwaldron
- Priority changed from undecided to low
- Resolution set to wontfix
- Status changed from new to closed
- Component changed from unfiled to css
comment:2 Changed 4 weeks ago by anonymous
Is my understanding that one jquery's purposes is to flatten out the differences in the underlying implementations. Why you suddenly decided that its too hard to do this and let the users do it, is beyond me.
I got bit by this bug, so i made a fiddle demostrating it. http://jsfiddle.net/tDdS7/
Try it on Firefox, then Chrome.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

This is why provide easily extended hooks on jQuery.cssHooks