I'm rewritting my Textarea Line Count plugin (<-- shameless plug), and have this question:
When I call $("#someElement").css("letter-spacing")
, will I ever get a value in em
s, or anything other than px
? Based on this example: http://jsfiddle.net/xhhr2/, in Google Chrome at least, it appears that either jQuery or the browser is converting the measurement to px
for me. Can I always expect this behavior?