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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/background-size-auto-with-gradient-and-height-changes.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="resources/text-based-repaint.js"></script> 3 <script src="resources/text-based-repaint.js"></script>
4 4
5 <style> 5 <style>
6 #outer { 6 #outer {
7 padding-top: 200px; 7 padding-top: 200px;
8 background: -webkit-gradient( 8 background: linear-gradient(rgba(255,255,0,0), rgba(0,0,0,1));
9 linear,
10 left top,
11 left bottom,
12 color-stop(0%, rgba(255,255,0,0)), color-stop(100%, rgba(0,0,0,1))
13 );
14 background-size: auto; 9 background-size: auto;
15 } 10 }
16 11
17 #inner { 12 #inner {
18 height: 100px; 13 height: 100px;
19 } 14 }
20 </style> 15 </style>
21 16
22 <script> 17 <script>
23 // This test verifies that gradient background gets repainted properly after chi ld box height change. 18 // This test verifies that gradient background gets repainted properly after chi ld box height change.
24 function repaintTest() { 19 function repaintTest() {
25 document.getElementById('inner').style.height = '300px'; 20 document.getElementById('inner').style.height = '300px';
26 } 21 }
27 </script> 22 </script>
28 </head> 23 </head>
29 24
30 <body onload='runRepaintAndPixelTest();'> 25 <body onload='runRepaintAndPixelTest();'>
31 <div id='outer'> 26 <div id='outer'>
32 <div id='inner'> 27 <div id='inner'>
33 </div> 28 </div>
34 </div> 29 </div>
35 </body> 30 </body>
36 </html> 31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698