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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/resize-repaint.html

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 compositing/repaint/resize-repaint.html -->
2 <!DOCTYPE html>
3
4 <html>
5 <head>
6 <style>
7 #resizing {
8 width: 400px;
9 border: 1px solid black;
10 transform: translateZ(0);
11 }
12
13 #resizing > div {
14 height: 50px;
15 margin: 1px;
16 background-color: silver;
17 }
18 </style>
19 <script src="resources/paint-invalidation-test.js"></script>
20 <script>
21 function paintInvalidationTest()
22 {
23 var resizingDiv = document.getElementById('resizing');
24
25 for (var i = 0; i < 2; ++i) {
26 var newDiv = document.createElement('div');
27 resizingDiv.appendChild(newDiv);
28 }
29 }
30
31 window.onload = runPaintInvalidationTest;
32 </script>
33 </head>
34 <body>
35
36 <div id="resizing">
37 <div></div>
38 <div></div>
39 </div>
40
41 </body>
42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698