summaryrefslogtreecommitdiffstats
path: root/docshell/test/iframesandbox/file_marquee_event_handlers.html
blob: 13ee31ddb7f1967dd40790605bdcaec9f178af89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!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>