peity
peity copied to clipboard
SVGElement offsetWidth/offsetHeight deprecated
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.
Thanks for reporting.
Should we expect a fix before deprecation? Thank you.
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!
Totally make sense.
Guess not ;-)
jquery/jquery#2889