Add a usecounter for SMIL elements in the document
The current SVGAnimation usecounter [1] is skewed by Modernizr [2] and doesn't count the other animation types such as <animateMotion>. This patch adds a new usecounter for SMIL animation elements that are in the document. I manually confirmed this does not fire on the Modernizr test page [3] whereas the old SVGAnimation counter does. [1] http://www.chromestatus.com/metrics/feature/timeline/popularity/90 [2] https://github.com/Modernizr/Modernizr/blob/v2.8.3/modernizr.js#L832-L835 [3] http://modernizr.github.io/Modernizr/test/ BUG=258298 Review URL: https://codereview.chromium.org/424273003 git-svn-id: svn://svn.chromium.org/blink/trunk@179191 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment