Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / animations / updated-attributes.html
blobbcbddb7cefa1cd7a9387679cef00d56abefcf26c
1 <html>
2 <body>
3 <!-- Test for https://bugs.webkit.org/show_bug.cgi?id=93972 -->
4 <div id="result"></div>
6 <svg xmlns="http://www.w3.org/2000/svg">
7 <rect id="rect" height="100" fill="green">
8 <animate id="animation" attributeName="width" from="10" to="100" begin="0s" dur="indefinite" fill="freeze" />
9 </rect>
10 </svg>
12 <script>
13 if (window.testRunner) {
14 testRunner.dumpAsText();
15 testRunner.waitUntilDone();
18 function check() {
19 var width = document.getElementById('rect').width.animVal.value;
20 document.getElementById('result').innerHTML = (width == 100 ? "PASS: " : "FAIL: ") + 'animated width is ' + width;
22 if (window.testRunner)
23 testRunner.notifyDone();
26 window.setTimeout(function() {
27 var ani = document.getElementById('animation');
28 ani.setAttribute("from", "100");
29 ani.beginElement();
31 window.setTimeout(function() { check(); }, 0);
32 }, 0);
33 </script>
34 </body>
35 </html>