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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/zoom/page/zoom-background-images.html

Issue 2746583003: Send deprecation messages for prefixed gradients now that it's possible. (Closed)
Patch Set: recommit Created 3 years, 7 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 img, div { 5 img, div {
6 display: inline-block; 6 display: inline-block;
7 margin: 20px 20px; 7 margin: 20px 20px;
8 border: 2px solid black; 8 border: 2px solid black;
9 width: 220px; 9 width: 220px;
10 height: 220px; 10 height: 220px;
11 } 11 }
12 12
13 .png { 13 .png {
14 background-image: url(../../custom/resources/green-checker.png); 14 background-image: url(../../custom/resources/green-checker.png);
15 background-repeat: no-repeat; 15 background-repeat: no-repeat;
16 background-position: center; 16 background-position: center;
17 } 17 }
18 18
19 .svg { 19 .svg {
20 background-image: url(resources/circle.svg); 20 background-image: url(resources/circle.svg);
21 } 21 }
22 22
23 .gradient { 23 .gradient {
24 » » » background-image: -webkit-repeating-radial-gradient(top left, red, blue 20px, red 40px); 24 background-image: repeating-radial-gradient(at top left, red, blue 2 0px, red 40px);
25 } 25 }
26 </style> 26 </style>
27 </head> 27 </head>
28 28
29 <body onload="runAfterLayoutAndPaint(repaintTest, true);"> 29 <body onload="runAfterLayoutAndPaint(repaintTest, true);">
30 <div class="png"></div> 30 <div class="png"></div>
31 <div class="svg"></div> 31 <div class="svg"></div>
32 <div class="gradient"></div> 32 <div class="gradient"></div>
33 <img src="resources/circle.svg"></img> 33 <img src="resources/circle.svg"></img>
34 34
35 <script>var zoomCount = 3; window.shouldZoomOut = true;</script> 35 <script>var zoomCount = 3; window.shouldZoomOut = true;</script>
36 <script src="../../../resources/run-after-layout-and-paint.js"></script> 36 <script src="../../../resources/run-after-layout-and-paint.js"></script>
37 <script src="../resources/testPageZoom.js"></script> 37 <script src="../resources/testPageZoom.js"></script>
38 38
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698