jquery/jquery — pull request #909 by mikesherov (2012-08-25 15:31:27+00:00)
Title: fixes #12313, regression: .height() and .width() no longer fall back to CSS if offsetWidth is undefined.

This "fix" fixes a regression in SVG, which I know we say we "won't fix", but was simple enough and was a regression in 1.8 when I changed an if from `val > 0` to a guard clause of `val <= 0`, which I thought was the opposite. However, both `undefined > 0` and `undefined <= 0` are false :-|

I did not include unit tests, however, because those would require us to be testing SVG and MathML, and is not something I'm interested in. I'm interested in fixing this regression and including an explanatory comment. If this means it doesn't get merged, so be it.

```
Running "compare_size:files" (compare_size) task
Sizes - compared to master
258736 (+15) dist/jquery.js
92790 (+9) dist/jquery.min.js
33206 (-1) dist/jquery.min.js.gz
```