chromium/third_party/blink/web_tests/animations/missing-keyframe-properties.html

<!DOCTYPE html>
<html>
<head>
  <style type="text/css" media="screen">
    .box {
      position: relative;
      margin: 10px;
      left: 0;
      width: 100px;
      height: 100px;
      background-color: blue;
      animation-duration: 2s;
      animation-timing-function: linear;
    }
    
    #box1 {
      animation-name: move;
    }
    @keyframes move {
        from {
          left: 0px;
        }
        50% {
          opacity: 0;
        }
        to {
          left: 400px;
        }
    }

    #box2 {
      animation-name: move2;
    }
    @keyframes move2 {
        from {
          transform: translateX(0);
        }
        50% {
          opacity: 0;
        }
        to {
          transform: translateX(400px);
        }
    }

  </style>
  <script src="resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script>
  <script type="text/javascript" charset="utf-8">
    
    const expectedValues = [
      // [time, element-id, property, expected-value, tolerance]
      [1, "box1", "left", 200, 15],
      [1, "box2", "transform.4", 200, 15],
      [0.5, "box1", "opacity", 0.5, 0.1],
      [1, "box1", "opacity", 0, 0.1],
      [1.5, "box1", "left", 300, 15],
      [1.5, "box2", "transform.4", 300, 15],
      [1.5, "box1", "opacity", 0.5, 0.1],
    ];
    
    runAnimationTest(expectedValues);
  </script>
</head>
<body>
<div id="box1" class="box"></div>
<div id="box2" class="box"></div>
<div id="result">
</div>
</body>
</html>