Bug 184497

Summary: Back-forward cached page would run some css animations again when being loaded
Product: WebKit Reporter: Kyle <hekai1229>
Component: AnimationsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: achristensen, beidson, dino, graouts, jonlee
Priority: P2    
Version: Safari 11   
Hardware: All   
OS: All   
Attachments:
Description Flags
screen-shot-video none

Description Kyle 2018-04-11 07:12:41 PDT
Created attachment 337698 [details]
screen-shot-video

Suppose there are two serial animations called A & B in one page. When user clicks a link to open a new page in the same tab and then press back button of safari (both iOS and macOS), the previous page are opened again. At the time, the B animation runs again.

Here is the demo to reproduce the bug: https://gist.github.com/599316527/475ae4e0686834d2852419b81c39ddf0