Check if any of the mutated elements are inside root.
(root, mutated)
| 437 | |
| 438 | /** Check if any of the mutated elements are inside root. */ |
| 439 | _containsTarget(root, mutated) { |
| 440 | if (mutated instanceof Set) { |
| 441 | for (var el of mutated) { |
| 442 | if (root.contains(el)) return true; |
| 443 | } |
| 444 | return false; |
| 445 | } |
| 446 | return root.contains(mutated); |
| 447 | } |
| 448 | |
| 449 | /** |
| 450 | * Run all pending effects. Called once per microtask batch. |
no test coverage detected