Repository navigation
Commit e945386
Keep the timeline running on the drag-animate test page
Headless WebKit stops the document timeline while nothing requests a
frame. x/y animations now run on WAAPI, so a 4s animate() froze a few
pixels in, and the drag then stopped it at a different value from the
one on screen. A plain element.animate() freezes the same way, so this
is the test browser, not Motion. A rAF loop keeps the timeline running,
as a browser with a display does.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent 625e6af commit e945386
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
42 | 49 | | |
43 | 50 | | |
44 | 51 | | |
| |||
0 commit comments