DescriptionRemove 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
Committed: https://crrev.com/5e2a7d4d2ade23509e4e00464736556db8eff59d
Cr-Commit-Position: refs/heads/master@{#381701}
Patch Set 1 #
Total comments: 2
Patch Set 2 : keep counting webkitMatchesSelector #
Messages
Total messages: 15 (7 generated)
|