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

Unified Diff: third_party/WebKit/LayoutTests/fast/backgrounds/background-position-repeat-rendering-2.html

Issue 2709153003: Fix repeat background position problem (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/backgrounds/background-position-repeat-rendering-2-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/backgrounds/background-position-repeat-rendering-2.html
diff --git a/third_party/WebKit/LayoutTests/fast/backgrounds/background-position-repeat-rendering-2.html b/third_party/WebKit/LayoutTests/fast/backgrounds/background-position-repeat-rendering-2.html
new file mode 100644
index 0000000000000000000000000000000000000000..e25d1b9ea7fe9cf43cd85890e19a042c776f6ba6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/backgrounds/background-position-repeat-rendering-2.html
@@ -0,0 +1,21 @@
+<!doctype html>
+<title>Test non-top-left background-position anchors together with repeating backgrounds</title>
+<style>
+ body { margin: 0 }
+ div {
+ width: 100px;
+ height: 100px;
+ }
+ .anchor-right {
+ background-image: linear-gradient(to left, lime 30px, red 30px);
+ background-size: 60px 100px;
+ background-position: top 0 right 0;
+ }
+ .anchor-bottom {
+ background-image: linear-gradient(to bottom, red 30px, lime 30px);
+ background-size: 100px 60px;
+ background-position: bottom 0 left 0;
+ }
+</style>
+<div class="anchor-right"></div>
+<div class="anchor-bottom"></div>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/backgrounds/background-position-repeat-rendering-2-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698