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

Unified Diff: LayoutTests/fast/css/background-position-animate-expected.html

Issue 157523002: Fix incorrect animation for some values of background-position. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@backgroundposition
Patch Set: Created 6 years, 10 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/fast/css/background-position-animate-expected.html
diff --git a/LayoutTests/fast/css/background-position-animate-expected.html b/LayoutTests/fast/css/background-position-animate-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..c5add006aed1acc8e1f92812401d34fca5cc0bc5
--- /dev/null
+++ b/LayoutTests/fast/css/background-position-animate-expected.html
@@ -0,0 +1,36 @@
+<!doctype html>
+<style>
+ div {
+ border: 3px solid skyblue;
+ width: 100px;
+ height: 100px;
+ background-image: linear-gradient(to right, coral, coral);
+ background-size: 20px 20px;
+ background-repeat: no-repeat;
+ display: inline-block;
+ }
+
+ #top_left { background-position: left 20px top 20px; }
+ #top_center { background-position: center top 20px; }
+ #top_right { background-position: right 20px top 20px; }
+
+ #cen_left { background-position: left 20px center; }
+ #cen_center { background-position: center center; }
+ #cen_right { background-position: right 20px center; }
+
+ #bot_left { background-position: left 20px bottom 20px; }
+ #bot_center { background-position: center bottom 20px; }
+ #bot_right { background-position: right 20px bottom 20px; }
+
+</style>
+<div id="top_left"></div>
+<div id="top_center"></div>
+<div id="top_right"></div>
+<br>
+<div id="cen_left"></div>
+<div id="cen_center"></div>
+<div id="cen_right"></div>
+<br>
+<div id="bot_left"></div>
+<div id="bot_center"></div>
+<div id="bot_right"></div>

Powered by Google App Engine
This is Rietveld 408576698