()
| 50 | // colors snap rather than fade, so the snapshot is the final frame |
| 51 | html.dataset.switching = "" |
| 52 | const done = () => delete html.dataset.switching |
| 53 | if (!document.startViewTransition || reducedMotion()) { |
| 54 | apply() |
| 55 | requestAnimationFrame(() => requestAnimationFrame(done)) |
no outgoing calls
no test coverage detected