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

Unified Diff: third_party/WebKit/LayoutTests/css3/background/background-color-gradient-alignment.html

Issue 2103563002: Fix rounding of phase for background image (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-add expectation. Created 4 years, 6 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: third_party/WebKit/LayoutTests/css3/background/background-color-gradient-alignment.html
diff --git a/third_party/WebKit/LayoutTests/css3/background/background-color-gradient-alignment.html b/third_party/WebKit/LayoutTests/css3/background/background-color-gradient-alignment.html
new file mode 100644
index 0000000000000000000000000000000000000000..8ee9698a20ef7f8527d8057cf4991090c5881577
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/background/background-color-gradient-alignment.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ .background1 {
+ background-color: rgb(0,68,204);
+ background-image: linear-gradient(rgb(0,136,204), rgb(0,68,204));
+ background-position: 0px -18.75px;
+ background-repeat: repeat no-repeat;
+ width: 50px;
+ height: 35px;
+ position: fixed;
+ top: 10.25px;
+ left: 10px;
+ }
+
+ .background2 {
+ background-color: rgb(0,68,204);
+ background-image: linear-gradient(rgb(0,136,204), rgb(0,68,204));
+ background-position: 0px -22.5px;
+ background-repeat: repeat no-repeat;
+ width: 50px;
+ height: 35.5px;
+ position: fixed;
+ top: 10px;
+ left: 70px;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="background1"></div>
+ <div class="background2"></div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698