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

Unified Diff: LayoutTests/transitions/cross-fade-background-image.html

Issue 722753002: Fix transitions/cross-fade-background-image.html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 | « LayoutTests/TestExpectations ('k') | LayoutTests/transitions/cross-fade-background-image-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/transitions/cross-fade-background-image.html
diff --git a/LayoutTests/transitions/cross-fade-background-image.html b/LayoutTests/transitions/cross-fade-background-image.html
index 884993848440729b4d431dad861faea487dd31a9..d87682673081bb11716cf2750edb9765e61bc069 100644
--- a/LayoutTests/transitions/cross-fade-background-image.html
+++ b/LayoutTests/transitions/cross-fade-background-image.html
@@ -29,14 +29,19 @@
background: url('../fast/backgrounds/repeat/resources/nav.blue.gif');
}
+ #boxStatic {
+ background-image: -webkit-cross-fade(url('../fast/backgrounds/repeat/resources/gradient.gif'),
+ url('../fast/backgrounds/repeat/resources/nav.blue.gif'), 0.5);
+ }
+
</style>
<script src="../animations/resources/animation-test-helpers.js" type="text/javascript"></script>
<script>
const expectedValues = [
// [time, element-id, property, expected-value, tolerance]
- [0.5, 'box', 'background-image', 0.5, 0.05],
- [0.5, 'boxShorthand', 'background-image', 0.5, 0.05],
+ [0.5, ['box', 'boxStatic'], 'background-image', null, 0.05],
+ [0.5, ['boxShorthand', 'boxStatic'], 'background-image', null, 0.05],
];
function setupTest()
@@ -51,6 +56,7 @@
<body>
<div id="box" class="box"></div>
<div id="boxShorthand" class="box"></div>
+ <div id="boxStatic" class="box"></div>
<div id="result"></div>
</body>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/transitions/cross-fade-background-image-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698