Fix flaky unanimated-style.html
animations/unanimated-style.html was using setTimout(0) to wait for the initial style calculations before starting the animation. This isn't a reliable method. We now force style recalc explicitly by reading an element's offsetTop. BUG=770362 Change-Id: Icf518b3a43b51d854de81cc2fab371922e271e16 Reviewed-on: https://chromium-review.googlesource.com/699974Reviewed-by:Ali Juma <ajuma@chromium.org> Commit-Queue: Eric Willigers <ericwilligers@chromium.org> Cr-Commit-Position: refs/heads/master@{#506497}
Showing
Please register or sign in to comment