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

Unified Diff: LayoutTests/animations/interpolation/outline-width-interpolation.html

Issue 343563002: Web Animations API: Avoid style resolution when calling element.animate() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed FIXME 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/animations/interpolation/outline-width-interpolation.html
diff --git a/LayoutTests/animations/interpolation/outline-width-interpolation.html b/LayoutTests/animations/interpolation/outline-width-interpolation.html
index 4338e57eabc8df5579021aeb81010a12a3225e6a..cbe309d0ae132240f286338c5731647cb82a9edb 100644
--- a/LayoutTests/animations/interpolation/outline-width-interpolation.html
+++ b/LayoutTests/animations/interpolation/outline-width-interpolation.html
@@ -28,5 +28,18 @@ assertInterpolation({
{at: 1, is: '10px'},
{at: 1.5, is: '15px'}
]);
+assertInterpolation({
+ property: 'outline-width',
+ from: 'thick',
+ to: '15px'
+}, [
+ {at: -2, is: '0px'}, // CSS outline-width can't be negative.
+ {at: -0.3, is: '2px'},
+ {at: 0, is: '5px'},
+ {at: 0.3, is: '8px'},
+ {at: 0.6, is: '11px'},
+ {at: 1, is: '15px'},
+ {at: 1.5, is: '20px'}
+]);
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698