UNPKG

fabric

Version:

Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.

3 lines (2 loc) 309 B
import{selectorMatches as t}from"./selectorMatches.min.mjs";import{doesSomeParentMatch as e}from"./doesSomeParentMatch.min.mjs";function o(o,m){let n=!0;const r=t(o,m.pop());return r&&m.length&&(n=e(o,m)),r&&n&&0===m.length}export{o as elementMatchesRule}; //# sourceMappingURL=elementMatchesRule.min.mjs.map