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

Unified Diff: third_party/WebKit/LayoutTests/fast/backgrounds/background-tiling-sub-pixel-expected.html

Issue 2689993003: Account for borders and padding when calculating background tile size. (Closed)
Patch Set: Rebaselined tests again. Created 3 years, 9 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/fast/backgrounds/background-tiling-sub-pixel-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/backgrounds/background-tiling-sub-pixel-expected.html b/third_party/WebKit/LayoutTests/fast/backgrounds/background-tiling-sub-pixel-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..44ea4175cc419891bf1b41004665c0004393b422
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/backgrounds/background-tiling-sub-pixel-expected.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 {
+ width: 100px;
+ height: 100px;
+ }
+
+ #b {
+ border: 1px solid black;
+ width: 98px;
+ height: 98px;
+ }
+</style>
+
+<div id=a></div>
+<div id=b></div>
+
+The gradients should fill the entire boxes and not repeat.
+

Powered by Google App Engine
This is Rietveld 408576698