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

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

Issue 14297032: Convert cross-fade-background-image to ref-test (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/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/animations/cross-fade-background-image-expected.html
diff --git a/LayoutTests/animations/cross-fade-background-image-expected.html b/LayoutTests/animations/cross-fade-background-image-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..3785cce0aa81ab6d7f21f7f1bedfb2a38d9e5b6f
--- /dev/null
+++ b/LayoutTests/animations/cross-fade-background-image-expected.html
@@ -0,0 +1,43 @@
+<html>
+<head>
+ <style>
+ #box {
+ position: absolute;
+ left: 100px;
+ top: 100px;
+ height: 100px;
+ width: 100px;
+ background-color: red;
+ background-image: -webkit-cross-fade(url(resources/blue-100.png), url(resources/green-100.png), 50%);
+ }
+ #boxShorthand {
+ position: absolute;
+ left: 100px;
+ top: 200px;
+ height: 100px;
+ width: 100px;
+ background-color: red;
+ background-image: -webkit-cross-fade(url(resources/blue-100.png), url(resources/green-100.png), 50%);
+ }
+ #boxStatic {
+ position: absolute;
+ left: 100px;
+ top: 300px;
+ height: 100px;
+ width: 100px;
+ background-color: red;
+ background-image: -webkit-cross-fade(url(resources/blue-100.png), url(resources/green-100.png), 50%);
+ }
+ </style>
+</head>
+<body>
+<div id="box"></div>
+<div id="boxStatic"></div>
+<div id="boxShorthand"></div>
+<div id="result">
+PASS - "backgroundImage" property for "box" element at 2.5s saw something close to: 0.5<br>
+PASS - "backgroundImage" property for "box" and "boxStatic" elements at 2.5s are close enough to each other<br>
+PASS - "backgroundImage" property for "boxShorthand" and "boxStatic" elements at 2.5s are close enough to each other
+</div>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/animations/cross-fade-background-image-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698