Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVGElement offsetWidth/offsetHeight deprecated #80

Open
timdp opened this issue Jan 6, 2016 · 5 comments
Open

SVGElement offsetWidth/offsetHeight deprecated #80

timdp opened this issue Jan 6, 2016 · 5 comments

Comments

@timdp
Copy link

timdp commented Jan 6, 2016

With line charts, these lines are causing the following warnings in Chrome 48:

'SVGElement.offsetWidth' is deprecated and will be removed in M50, around April 2016. See https://www.chromestatus.com/features/5724912467574784 for more details.
'SVGElement.offsetHeight' is deprecated and will be removed in M50, around April 2016. See https://www.chromestatus.com/features/5724912467574784 for more details.

(jquery.js:5819)

You'll probably get the same for bar charts.

@benpickles
Copy link
Owner

Thanks for reporting.

@laguiz
Copy link

laguiz commented Feb 9, 2016

Should we expect a fix before deprecation? Thank you.

@benpickles
Copy link
Owner

I had a quick look at this when it was reported, it seems to be due to asking jQuery for the dimensions of a SVG element. I figured if I wait a while they might just fix it for me on their end!

@laguiz
Copy link

laguiz commented Feb 9, 2016

Totally make sense.

@z0mt3c
Copy link

z0mt3c commented Feb 26, 2016

Guess not ;-)

jquery/jquery#2889

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants