4 https://bugzilla.mozilla.org/show_bug.cgi?id=1135764
8 <title>Test for Bug
1135764</title>
9 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
11 <script type=
"application/javascript">
13 /** Test for Bug
1135764 **/
14 SimpleTest.waitForExplicitFinish();
16 var startTimelineValue;
18 function waitATick() {
21 frames[
0].requestAnimationFrame(waitATick);
24 ok(frames[
0].document.timeline.currentTime !== startTimelineValue,
25 "The timeline in an XSLT-transformed document should still advance");
28 addLoadEvent(function() {
29 var ifr = document.querySelector(
"iframe");
30 ifr.onload = function() {
31 startTimelineValue = frames[
0].document.timeline.currentTime;
32 frames[
0].requestAnimationFrame(waitATick);
34 ifr.src =
"file_bug1135764.xml";
39 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=1135764">Mozilla Bug
1135764</a>
43 <div id=
"content" style=
"display: none">