Bug: jQuery.position() after css transform: Webkit & Firefox different results

Bug: jQuery.position() after css transform: Webkit & Firefox different results

  1. // Assuming absolute positioning
  2. $myDiv.position({left:100,top:100});

  3. // assuming we have a "transform" jQuery.CSSHooks for  MozTranform and WebkitTransform 
  4. $myDiv.css("transform","translate(50px, 50px)");

  5. var newLeft = $myDiv.position().left;

  6. // on Firefox 3.6.15
  7. // newLeft == 100 

  8. // on Webkit based browsers
  9. // newLeft == 150

Not sure which one is the right behavior (I prefer the Webkit result), but would be great to have jQuery normalizing it. Doing this in the application is very ineffective.