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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/hidpi/background-tile-bleed.html

Issue 2582383002: Clamp background tiles when possible (Closed)
Patch Set: relax asserts Created 4 years 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #div-horizontal {
4 width: 200px;
5 height: 100px;
6 /* red band at the bottom */
7 background-image: url("data:image/svg+xml,\
8 <svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'>\
9 <rect width='100%' height='100%' fill='red'/>\
10 <rect width='100%' height='100' fill='green'/>\
11 </svg>");
12 }
13
14 #div-vertical {
15 width: 100px;
16 height: 200px;
17 /* red band on the right */
18 background-image: url("data:image/svg+xml,\
19 <svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'>\
20 <rect width='100%' height='100%' fill='red'/>\
21 <rect width='100' height='100%' fill='green'/>\
22 </svg>");
23 }
24 </style>
25
26 <script src="resources/srcset-helper.js"></script>
27
28 <!-- There should be no bleeding due to repeat edge wrapping in the dimension
29 fully covered by the tile -->
30 <div id="div-horizontal"></div>
31 <br>
32 <div id="div-vertical"></div>
33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698