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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 div {
4 background-image: -webkit-repeating-linear-gradient(top left, white, blu e 90px);
5 background-origin: content-box;
6 }
7
8 #a {
9 padding: 0.1px;
10 width: 99.8px;
11 height: 99.8px;
12 }
13
14 #b {
15 border: 1.1px solid black;
16 width: 97.8px;
17 height: 97.8px;
18 }
19 </style>
20
21 <div id=a></div>
22 <div id=b></div>
23
24 The gradients should fill the entire boxes and not repeat.
OLDNEW
« 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