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

Unified Diff: third_party/WebKit/LayoutTests/fast/backgrounds/background-tiling-sub-pixel.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/backgrounds/background-tiling-sub-pixel-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-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.
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/backgrounds/background-tiling-sub-pixel-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698