2266 for (auto node = makeRefPtr(this); node; node = node->parentNode()) {
2267 if (!node->hasRareData())
2268 continue;
2269 auto* rareData = node->rareData();
2270 if (auto* registry = rareData->mutationObserverRegistryIfExists())
2271 collectMatchingObserversForMutation(result, *registry, *this, type, attributeName);
2272 collectMatchingObserversForMutation(result, rareData->transientMutationObserverRegistry(), *this, type, attributeName);
2294 collectMatchingObserversForMutation(result, mutationObserverRegistry(), *this, type, attributeName);
2295 collectMatchingObserversForMutation(result, transientMutationObserverRegistry(), *this, type, attributeName);
2296 for (Node* node = parentNode(); node; node = node->parentNode()) {
2297 collectMatchingObserversForMutation(result, node->mutationObserverRegistry(), *this, type, attributeName);
2298 collectMatchingObserversForMutation(result, node->transientMutationObserverRegistry(), *this, type, attributeName);