Bug Tracker

Ticket #11063 (closed bug: wontfix)

Opened 3 years ago

Last modified 17 months ago

.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 3 years 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

This is why provide easily extended hooks on jQuery.cssHooks

comment:2 Changed 17 months 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.

Note: See TracTickets for help on using tickets.