Remove use counters for Element methods that have been settled in spec
https://dom.spec.whatwg.org/#interface-element This also moves the non-spec'd webkitMatchesSelector, insertAdjacentElement and insertAdjacentText. The use counter for webkitMatchesSelector is left in place, because it it's somewhat interesting to follow its decline. The usage ought to be dominated by old versions of jQuery and other libraries, and so it says something about how long it takes for those libraries to be dropped or upgraded in the wild. jQuery and other libraries were updated around the time that the unprefixed matches was shipped in Blink, and usage of webkitMatchesSelector has roughly halved every year since. (Since it's now implemented in all engines, it's still unlikely to ever be removed.) Original commits: https://crrev.com/d92494c5c13990d8ab8d8cd73b0a20b8b2dee1e9 https://crrev.com/a706ad3cd488d6827cfcc99cd67cc30625296928 https://crrev.com/709823c231eb406d6928938c745effb16d6b3b3c https://crrev.com/45b5b0427c403ba30d0067921b2639a31f0190df https://crrev.com/6bcc2fb1c405cca7971ef6f361d94f8e8c63e726 BUG=460722 Review URL: https://codereview.chromium.org/1804383002 Cr-Commit-Position: refs/heads/master@{#381701}
Showing
Please register or sign in to comment