I was looking through the jQuery code and found this line:
elem.runtimeStyle.left = elem.currentStyle.left;
at
https://github.com/jquery/jquery/blob/449e099b97d823ed0252d8821880bc0e471701ea/src/css.js#L169
I am not sure why this is done. Isn't this useless?
Setting the runtimeStyle to the currentStyle would override nothing. Except make the runtimeStyle readable the next time you read it - which doesn't seem needed now.
I understand the overall concept here and why that code block exists (to convert numeric non-pixel values to the appropriate pixel value, by setting the left to the non-pixel value and reading its pixel value and then reverting the left back to the original value).
Edit See my answer below for why I think this is done (with jsFiddle illustration!).