[wp-trac] [WordPress Trac] #46474: Twenty Nineteen: Element.matches() does not exist (was: function matches() does not exist in the Twenty Nineteen theme)
WordPress Trac
noreply at wordpress.org
Tue Mar 12 09:23:53 UTC 2019
#46474: Twenty Nineteen: Element.matches() does not exist
---------------------------------------+------------------------------
Reporter: janpaulkleijn | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 5.1
Severity: normal | Resolution:
Keywords: needs-patch needs-testing | Focuses:
---------------------------------------+------------------------------
Changes (by swissspidy):
* keywords: has-patch => needs-patch needs-testing
Comment:
This is the polyfill you are referring too?
{{{
if (!Element.prototype.matches) {
Element.prototype.matches = Element.prototype.msMatchesSelector ||
Element.prototype.webkitMatchesSelector;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46474#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list