summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/1630900-1.html
blob: ce86050ee130770640d83976facac3d87c4ae80a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html>
  <head>
    <style>

      .loader {
        height: 480px;
      }

      rect {
        fill: #000;
        opacity: 0.5;
      }
      .anim {
        animation: fade 10.5s infinite;
      }

      @keyframes fade {
        0% {
          opacity: 0.5;
        }
        50% {
          opacity: 0.51;
        }
        100% {
          opacity: 0.5;
        }
      }

    </style>
  </head>
  <body>
    <svg 
      class="loader" 
      x="0px" 
      y="0px" 
      viewBox="0 0 100 100"
    >
      <rect class="anim" x="0" y="0" width="100" height="100"/>
    </svg>
  </body>
</html>