Ticket #8402 (closed bug: fixed)
jQuery.cssProps is useless in all browsers but IE6/7/8
|Reported by:||lrbabe||Owned by:||lrbabe|
jQuery.cssProps is an object in which you can "Add in properties whose names you wish to fix before setting or getting the value".
It is used by jQuery core to map the float property to "cssFloat" or "styleFloat" depending on the browser.
Unfortunately, the current implementation is not as generic as it is supposed to be: browsers implementing window.getComputedStyle will completely ignore the "fixed property" in jQuery.css(). It works well for the 'float' property but makes jQuery.cssProps useless for other properties.
It could be really useful to create basic cssHooks:
var vendorPrefixedTransform = detectFeature('transform'); jQuery.cssProps.transform = vendorPrefixedTransform;
- Owner set to lrbabe
- Status changed from new to pending
- Component changed from unfiled to css