Bug in dimensions innerHeight/Width and outerHeight/Width

Bug in dimensions innerHeight/Width and outerHeight/Width

Hi,
I was just doing a little work on my jScrollPane plugin and updated it
to use the latest version of jQuery. Since jQuery now contains offset I
thought I'd update to the latest dimensions as well so I didn't have
duplication of that method.
First thing I noticed was that the newest version of dimensions on it's
project page ( http://jquery.com/plugins/project/dimensions ) seems
pretty old (comparing it to the ChangeLog.txt in svn).
So I started using the version in svn (alongside jquery-1.2.1.min.js).
However it seemed to have some issues with innerHeight/Width and
outerHeight/Width. Basically I was getting values back like "200px00"
where the padding values were being concatenated on to the string which
was returned by the calls to height() or width().
I tweaked it a bit (see the attached patch) so that it appears to be
working for me although I'm not sure if this will break stuff for anyone
else or if indeed the version in svn is working for anyone else. And I'm
not set up to run the test suite...
Hope this is helpful,
Kelvin :)