-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
4 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,7 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<style> | ||
/* don't show the image at the beginning */ | ||
img { | ||
visibility: hidden; | ||
animation-name: make-shown; | ||
animation-duration: 2ms; | ||
animation-delay: 1000ms; | ||
animation-fill-mode: forwards; | ||
} | ||
|
||
@keyframes make-shown { | ||
0% { | ||
visibility: hidden; | ||
} | ||
100% { | ||
visibility: visible; | ||
} | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<img src="/img?url=fixtures/blue.png"/> | ||
<h4>The image should be snapshotted since we're waiting until the delayed-revealed image is visible.</h4> | ||
<img src="/images/animated.gif"/> | ||
<h4>The image should be snapshotted as purple since we're waiting until the delayed-revealed image is visible.</h4> | ||
</body> | ||
</html> |