summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/png/apng/apng-blue-rectangle-ref.html
blob: 51bae3e107e8b14a9607eb615349316d83e97a44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<meta charset="utf-8">
<title>PNG Third Edition: animated PNG, plays</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<style>
    .test {
        width: 128px;
        height: 64px;
        background-color: white;
        background-image:
        linear-gradient(45deg, #ccc 25%, transparent 25%),
        linear-gradient(-45deg, #ccc 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #ccc 75%),
        linear-gradient(-45deg, transparent 75%, #ccc 75%);
        background-size: 16px 16px;
        background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
    }
</style>
<body>
    <p>Test passes if this flashes yellow for one second, then
        blue for one second, then yellow for one second, then blue forever.</p>
    <div class="test"><img src="support/blue.png" alt=""></div>
</body>