Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / animations / animate-to-low-prio-frozen.html
blob403fcca48eb8b828ebcadc1b732132e8871a5a9d
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <svg width="200" height="200" style="display: block">
4 <rect width="0" height="100" fill="green">
5 <animate attributeName="width" begin="0s; 1000s" to="200" dur="25ms" fill="freeze"/>
6 <animate attributeName="width" begin="50ms" to="100" dur="500s" onbegin="runTest()"/>
7 </rect>
8 </svg>
9 <script>
10 window.jsTestIsAsync = true;
12 var rectWidth;
14 function runTest() {
15 rect = document.querySelector('rect');
16 rectWidth = rect.width.animVal.valueInSpecifiedUnits;
17 // Width expected to be 100 < x <= 200.
18 shouldBeGreaterThan("rectWidth", "100");
19 shouldBeGreaterThanOrEqual("200", "rectWidth");
20 finishJSTest();
22 </script>