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

Side by Side Diff: LayoutTests/animations/unsigned-underflow.html

Issue 23287005: CSS Animations: Clamp to avoid underflow when blending unsigned values (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update TestExpectations Created 7 years, 4 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/animations/unsigned-underflow-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 <style>
3 #target {
4 height: 100px;
5 width: 100px;
6 border: solid blue 0px;
7 -webkit-animation-duration: 1s;
8 -webkit-animation-timing-function: cubic-bezier(0,-1,1,-1);
9 -webkit-animation-name: anim;
10 }
11 @-webkit-keyframes "anim" {
12 from { border-top-width: 0px; }
13 to { border-top-width: 10px; }
14 }
15 </style>
16 <script src="resources/animation-test-helpers.js"></script>
17 <script>
18 if (window.testRunner)
19 testRunner.dumpAsText();
20
21 const expectedValues = [
22 // [animation-name, time, element-id, property, expected-value, tolerance]
23 ['anim', 0.5, 'target', 'border-top-width', 0, 0],
24 ];
25
26 runAnimationTest(expectedValues);
27 </script>
28 <body>
29 Tests that interpolation of unsigned values does not underflow when a timing
30 function produces values outside the range 0-1.
31 <div id="target"></div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/animations/unsigned-underflow-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698