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

Unified Diff: LayoutTests/animations/interpolation/background-color-interpolation-unset.html

Issue 840463002: Fix assert when interpolating using unset (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unset handling code in StyleResolver::applyProperties Created 5 years, 11 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
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/background-color-interpolation-unset-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/interpolation/background-color-interpolation-unset.html
diff --git a/LayoutTests/animations/interpolation/background-color-interpolation.html b/LayoutTests/animations/interpolation/background-color-interpolation-unset.html
similarity index 66%
copy from LayoutTests/animations/interpolation/background-color-interpolation.html
copy to LayoutTests/animations/interpolation/background-color-interpolation-unset.html
index c4ddc09b54158d0781de9b73fe8d2e83af40dc73..9f0cfac2da8860f5421843435e46b0d4bd23e742 100644
--- a/LayoutTests/animations/interpolation/background-color-interpolation.html
+++ b/LayoutTests/animations/interpolation/background-color-interpolation-unset.html
@@ -7,6 +7,7 @@
display: inline-block;
border: 2px solid black;
margin-right: 2px;
+ background-color: red;
}
.replica {
background-color: green;
@@ -18,19 +19,7 @@
<script>
assertInterpolation({
property: 'background-color',
- from: 'white',
- to: 'orange'
-}, [
- {at: -0.3, is: 'white'},
- {at: 0, is: 'white'},
- {at: 0.3, is: 'rgb(255, 228, 179)'},
- {at: 0.6, is: 'rgb(255, 201, 102)'},
- {at: 1, is: 'orange'},
- {at: 1.5, is: 'rgb(255, 120, 0)'},
-]);
-assertInterpolation({
- property: 'background-color',
- from: 'initial',
+ from: 'unset',
to: 'transparent'
}, [
{at: -0.3, is: 'transparent'},
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/background-color-interpolation-unset-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698