.parentNode(); } return false; }; for (const mutation of mutations) { if (canMutationImpactCurrentStyles(mutation)) { this.emit("style-changed"); break; } } } /** * When the window gets resized, this may cause media-queries to match, and we therefore * need to consider this as a style change for the current node. */ onResized() { this.emit("style-changed"); } } module.exports = InspectorStyleChangeTracker; PK