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

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

Issue 716963002: Remove property-specific handling in animation-test-helpers.js (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@animhelpercleanup
Patch Set: rm whitespace 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
Index: LayoutTests/transitions/cross-fade-border-image.html
diff --git a/LayoutTests/transitions/cross-fade-border-image.html b/LayoutTests/transitions/cross-fade-border-image.html
index fdd05465dbc2f4c141d526cab944588b5d4a3ee3..4b2732dc37305907153233bade5310d385a3996f 100644
--- a/LayoutTests/transitions/cross-fade-border-image.html
+++ b/LayoutTests/transitions/cross-fade-border-image.html
@@ -29,14 +29,18 @@
border-image: url('../animations/resources/stripes-100.png') 5 5 5 5 /40px stretch stretch;
}
+ #boxStatic {
+ border-image: -webkit-cross-fade(url(../animations/resources/blue-100.png), url(../animations/resources/stripes-100.png), 0.5) 5 5 5 5 /40px stretch stretch;
+ }
+
</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', 'border-image-source', 0.5, 0.05],
- [0.5, 'boxShorthand', 'border-image', 0.5, 0.05],
+ [0.5, ['box', 'boxStatic'], 'border-image-source', null, 0.05],
+ [0.5, ['boxShorthand', 'boxStatic'], 'border-image', null, 0.05],
];
function setupTest()
@@ -57,6 +61,7 @@
<body>
<div id="box" class="box"></div>
<div id="boxShorthand" class="box"></div>
+ <div id="boxStatic" class="box"></div>
<div id="result"></div>
<img src="../animations/resources/stripes-100.png" onLoad="imageLoaded();"/>

Powered by Google App Engine
This is Rietveld 408576698