Fixed #1599 as Brandon suggested to ignore negative values to width and height css...
authorDavid Serduke <davidserduke@gmail.com>
Wed, 28 Nov 2007 01:01:49 +0000 (01:01 +0000)
committerDavid Serduke <davidserduke@gmail.com>
Wed, 28 Nov 2007 01:01:49 +0000 (01:01 +0000)
commit0a755f6ab38d36ffda02f9ff5a6d606c24a94baa
treeade0201e0ae397e2fab4d530ac3eda20ff202c60
parent2ccd2cb36be6169afee3bd6e82ba3539f432c73f
Fixed #1599 as Brandon suggested to ignore negative values to width and height css.  The fix itself is slightly different as it was moved to .css() instead of staying in .attr() like in his patch.  I decided there was less chance of incorrect behavior (like if someone had an XML file with a width attribute that could be negative).  Also took out some unneeded white space while I was in there.
src/core.js
test/index.html
test/unit/core.js