Index: LayoutTests/fast/backgrounds/background-position-repeat-rendering.html |
diff --git a/LayoutTests/fast/backgrounds/background-position-repeat-rendering.html b/LayoutTests/fast/backgrounds/background-position-repeat-rendering.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c1b77f282cdaa8faf9f051f6748291c28648ef19 |
--- /dev/null |
+++ b/LayoutTests/fast/backgrounds/background-position-repeat-rendering.html |
@@ -0,0 +1,27 @@ |
+<!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 100px, red 100px); |
+ background-size: 200px 100px; |
+ background-position: top 0 right 0; |
+ } |
+ .anchor-bottom { |
+ background-image: linear-gradient(to bottom, red 100px, lime 100px); |
+ background-size: 100px 200px; |
+ background-position: bottom 0 left 0; |
+ } |
+ .anchor-bottom-right { |
+ background-image: linear-gradient(to top left, lime 142px, red 142px); |
+ background-size: 200px 200px; |
+ background-position: bottom 0 right 0; |
+ } |
+</style> |
+<div class="anchor-right"></div> |
+<div class="anchor-bottom"></div> |
+<div class="anchor-bottom-right"></div> |