[PATCH][CLA] dojox/gfx/svg allows setting of negative width/height
This is a minor issue, but it can be annoying in Google Chrome. If a negative width or height is applied to a shape, Google Chrome emits an annoying message in its debugger. It does not, however, give you a stack trace to figure out how the negative width came in. So, you cannot actually go fix the culprit. Nor does it break anything as it seems Chrome then just ignores the value and treats it as 0 anyway.
So, it would be handy to silence that useless message so actual debug able messages aren't lost in the clutter. Patch/pull request forthcoming to 'resolve' it by just ensuring that any negative dimension value is normalized to 0 before being set on the dom.
The cases where I have seen this happen are commonly with animated charts and resize events, and the timing thereof during them.
Pull request for this: https://github.com/dojo/dojox/pull/117