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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/background-shorthand-with-gradient-and-height-changes.html

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
(Empty)
1 <!-- Based on fast/repaint/background-shorthand-with-gradient-and-height-changes .html -->
2 <html>
3 <head>
4 <script src="resources/paint-invalidation-test.js"></script>
5
6 <style>
7 #outer {
8 padding-top: 200px;
9 /* background-size is implicitly set to initial via the background shorthand . */
10 background:-webkit-gradient(
11 linear,
12 left top,
13 left bottom,
14 color-stop(0%, rgba(255,255,0,0)), color-stop(100%, rgba(0,0,0,1))
15 );
16 }
17
18 #inner {
19 height: 100px;
20 }
21 </style>
22
23 <script>
24 //This test verifies that gradient background gets repainted properly after chil d box height change.
25
26 function paintInvalidationTest() {
27 document.getElementById('inner').style.height = 300 + 'px';
28 }
29 </script>
30 </head>
31 <body onload='runPaintInvalidationTest();'>
32 <div id='outer'>
33 <div id='inner'>
34 </div>
35 </div>
36 </body>
37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698