Description
Select any element on the page that doesn't have an explicit width set via a stylesheet or inline attribute and call .width().
In jQuery 1.x, 3.0.x and 3.1.1 this returns the computed width.
As of jQuery 3.2.0 it returns 0. This is breaking various downstream test suites for Wikimedia and is blocking our upgrade for now.
Link to test case
http://codepen.io/Krinkle/pen/RpjgpR
Description
Select any element on the page that doesn't have an explicit width set via a stylesheet or inline attribute and call
.width().In jQuery 1.x, 3.0.x and 3.1.1 this returns the computed width.
As of jQuery 3.2.0 it returns
0. This is breaking various downstream test suites for Wikimedia and is blocking our upgrade for now.Link to test case
http://codepen.io/Krinkle/pen/RpjgpR