testcommon.js |
Returns a Promise that is resolved after a CSS scroll timeline is created (as
the result of a style change) and a snapshot has been taken, so that the
animation style is correctly reflected by getComputedStyle().
Technically, this only takes a full frame update. We implement this as two
requestAnimationFrame callbacks because the result will be available at the
beginning of the second frame.
|
701 |