<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Test marquee attribute event handlers in iframe sandbox</title>
</head>
<body>
  <!-- Note that the width here is slightly longer than the contents, to make
       sure we bounce and finish very quickly. -->
  <marquee loop="2" width="145" behavior="alternate" truespeed scrolldelay="1"
    onstart="parent.postMessage(window.name + ' marquee onstart', '*');"
    onbounce="parent.postMessage(window.name + ' marquee onbounce', '*');"
    onfinish="parent.postMessage(window.name + ' marquee onfinish', '*');">
    Will bounce and finish
  </marquee>
</body>
</html>