John Rayes
John Rayes
This one proved difficult to track down, mainly because I thought the autofocus code was broken. After trying to fix it, I trike `MutationObserver`. That showed the DOM written twice....
### Motivation Nodes are frequently created, updated, and destroyed, but would always use the same styles. Repeated calls to `getComputedStyle()` for the same or similar elements were causing noticeable performance...
Splicing reindexes arrays, which is a behavior that we do not want in a hot loop. My performance profiling reveals that this is thee only instance of splicing arrays that...
dom.toggle() triggers a reflow because it calls Element.getClientRects()
Still appears to work fine this way. Also added more tests.