dom/smil/test/test_smilAdditionFallback.html
author David Major <dmajor@mozilla.com>
Wed, 20 Dec 2017 09:07:46 -0500
changeset 448763 e9cfe039a796e2963a6d3e7d2a161b02cdbadcac
parent 435355 d8974272e3e372f4a445fad9b3276a09b0bced96
child 528458 ba6f655fd68963530c866d0d4a48c3db3d307777
permissions -rw-r--r--
Bug 1425906: Rename LINK to LINKER throughout the build system. r=glandium Windows linkers give special meaning to getenv("LINK"), which makes `export LINK=...` in mozconfigs do unexpected things.

<!doctype html>
<meta charset=utf-8>
<head>
  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<p id=display></p>
<div id=content>
<svg id=svg>
<!-- These two animations will have a default duration of indefinite which means
     they will keep producing their first value forever -->
<animate calcMode="discrete" attributeName="height" by="10" dur="1s"
  fill="freeze"/>
<animate calcMode="discrete" attributeName="height" by="10" dur="1s"
  fill="freeze"/>
</svg>
</div>
<pre id="test">
<script>
'use strict';

SimpleTest.waitForExplicitFinish();

window.addEventListener('load', () => {
  const svg = document.getElementById('svg');
  is(getComputedStyle(svg).height, '0px', 'Computed height should be zero');
  SimpleTest.finish();
});
</script>
</pre>