chromium/third_party/blink/web_tests/transitions/transition-end-event-unprefixed-02.html

<!DOCTYPE html>
<html>
<head>
  <style>
    .box {
      position: relative;
      left: 0;
      height: 100px;
      width: 100px;
      margin: 10px;
      background-color: blue;
      transition-property: left;
      transition-duration: 0.1s;
      -webkit-transition-property: left;
      -webkit-transition-duration: 0.1s;
    }
  </style>
  <script src="transition-end-event-helpers.js"></script>
  <script type="text/javascript">

    var expectedEndEvents = [
      // [property-name, element-id, elapsed-time, listen]
      ["left", "box1", 0.1, false]
    ];

    function setupTest()
    {
      var box = document.getElementById('box1');
      document.addEventListener('webkitTransitionEnd', recordTransitionEndEvent, false);
      document.addEventListener('transitionend', recordTransitionEndEvent, false);
      box.style.left = '200px';
    }

    runTransitionTest(expectedEndEvents, setupTest);
  </script>
</head>
<body>

<p>Initiating a transition catching one transition event only despite listening the prefixed and unprefixed event.</p>

<div id="container">
  <div id="box1" class="box"></div>
</div>

<div id="result"></div>

</body>
</html>