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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/backgrounds/gradient-background-leakage-hidpi.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 type="text/css"> 4 <style type="text/css">
5 .box { 5 .box {
6 height: 30px; 6 height: 30px;
7 width: 200px; 7 width: 200px;
8 background-image: -webkit-linear-gradient(black, black); 8 background-image: linear-gradient(black, black);
9 border-radius: 25px; 9 border-radius: 25px;
10 border: 1px solid green; 10 border: 1px solid green;
11 } 11 }
12 </style> 12 </style>
13 </head> 13 </head>
14 <script> 14 <script>
15 window.onload = function() { 15 window.onload = function() {
16 if (window.testRunner) { 16 if (window.testRunner) {
17 testRunner.waitUntilDone(); 17 testRunner.waitUntilDone();
18 testRunner.setBackingScaleFactor(2, finishTest); 18 testRunner.setBackingScaleFactor(2, finishTest);
19 } 19 }
20 } 20 }
21 21
22 function finishTest() { 22 function finishTest() {
23 setTimeout(function() { testRunner.notifyDone(); }, 0); 23 setTimeout(function() { testRunner.notifyDone(); }, 0);
24 } 24 }
25 </script> 25 </script>
26 <body> 26 <body>
27 <!-- You should see no red leaking through the inner edge of the border. --> 27 <!-- You should see no red leaking through the inner edge of the border. -->
28 <div style="background-color: red; padding: 10px; width: 200px"> 28 <div style="background-color: red; padding: 10px; width: 200px">
29 <div class="box"></div> 29 <div class="box"></div>
30 </div> 30 </div>
31 </body> 31 </body>
32 </html> 32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698