Index: third_party/WebKit/LayoutTests/fast/hidpi/background-tile-bleed.html |
diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/background-tile-bleed.html b/third_party/WebKit/LayoutTests/fast/hidpi/background-tile-bleed.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d9156dd1bd8c5855c4957cbc40e8824880711217 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/hidpi/background-tile-bleed.html |
@@ -0,0 +1,33 @@ |
+<!DOCTYPE html> |
+<style> |
+#div-horizontal { |
+ width: 200px; |
+ height: 100px; |
+ /* red band at the bottom */ |
+ background-image: url("data:image/svg+xml,\ |
+ <svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'>\ |
+ <rect width='100%' height='100%' fill='red'/>\ |
+ <rect width='100%' height='100' fill='green'/>\ |
+ </svg>"); |
+} |
+ |
+#div-vertical { |
+ width: 100px; |
+ height: 200px; |
+ /* red band on the right */ |
+ background-image: url("data:image/svg+xml,\ |
+ <svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'>\ |
+ <rect width='100%' height='100%' fill='red'/>\ |
+ <rect width='100' height='100%' fill='green'/>\ |
+ </svg>"); |
+} |
+</style> |
+ |
+<script src="resources/srcset-helper.js"></script> |
+ |
+<!-- There should be no bleeding due to repeat edge wrapping in the dimension |
+ fully covered by the tile --> |
+<div id="div-horizontal"></div> |
+<br> |
+<div id="div-vertical"></div> |
+ |