Bug 184497 - Back-forward cached page would run some css animations again when being loaded
Summary: Back-forward cached page would run some css animations again when being loaded
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Animations (show other bugs)
Version: Safari 11
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-11 07:12 PDT by Kyle
Modified: 2018-04-12 09:49 PDT (History)
5 users (show)

See Also:


Attachments
screen-shot-video (1.16 MB, video/mp4)
2018-04-11 07:12 PDT, Kyle
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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