Index: third_party/WebKit/LayoutTests/fast/backgrounds/background-tiling-sub-pixel.html |
diff --git a/third_party/WebKit/LayoutTests/fast/backgrounds/background-tiling-sub-pixel.html b/third_party/WebKit/LayoutTests/fast/backgrounds/background-tiling-sub-pixel.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..85dad1e4e632e16865ea83471af38bea79e0e915 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/backgrounds/background-tiling-sub-pixel.html |
@@ -0,0 +1,24 @@ |
+<!DOCTYPE html> |
+<style> |
+ div { |
+ background-image: -webkit-repeating-linear-gradient(top left, white, blue 90px); |
+ background-origin: content-box; |
+ } |
+ |
+ #a { |
+ padding: 0.1px; |
+ width: 99.8px; |
+ height: 99.8px; |
+ } |
+ |
+ #b { |
+ border: 1.1px solid black; |
+ width: 97.8px; |
+ height: 97.8px; |
+ } |
+</style> |
+ |
+<div id=a></div> |
+<div id=b></div> |
+ |
+The gradients should fill the entire boxes and not repeat. |