Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: LayoutTests/svg/animations/animate-to-low-prio-frozen.html

Issue 316013003: Frozen animations still contribute to the sandwich/animation stack (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/svg/animations/animate-to-low-prio-frozen-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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="f reeze"/>
6 <animate attributeName="width" begin="50ms" to="100" dur="500s" onbegin="run Test()"/>
7 </rect>
8 </svg>
9 <script>
10 window.jsTestIsAsync = true;
11
12 var rectWidth;
13
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();
21 }
22 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/animations/animate-to-low-prio-frozen-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698