outerWidth of svg yields NaNpx. Previously yielded a number. #3964
Comments
|
Hmm, interesting. SVG elements don't have |
|
@gibson042 , I appreciate the offer, but I'll pass this round. Thanks! |
|
@gibson042 I'd like to give this a shot, could it be assigned to me? |
|
@jonathanv3232 GitHub doesn't allow to assign issues to people without commit access to the repo so we can't set you but feel free to take a shot at a PR! |
This was referenced Mar 27, 2018
|
Submitted PR for the fix. |
jbedard
added a commit
to jbedard/jquery
that referenced
this issue
Jun 4, 2018
jbedard
added a commit
to jbedard/jquery
that referenced
this issue
Jun 11, 2018
jbedard
added a commit
to jbedard/jquery
that referenced
this issue
Jun 11, 2018
jbedard
added a commit
to jbedard/jquery
that referenced
this issue
Jun 12, 2018
jbedard
added a commit
that referenced
this issue
Jun 21, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
On v3.3.1,
outerWidth()of ansvgyieldsNaNpx.I expected a number. Prior versions (e.g., v3.2.1) yielded a number.
Issue reproduces on each OS/browser combo I tried: Mac/{Chrome, Firefox, Safari} and Windows/{Edge, Firefox, Chrome}.
Link to test case
v3.3.1: https://jsfiddle.net/u9pk0gdq/1/ (yields
NaNpx)v3.2.1: https://jsfiddle.net/378suvLg/ (yields a number)
The text was updated successfully, but these errors were encountered: