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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/block-shift-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 fast/repaint/block-shift-repaint.html -->
2 <html>
3 <head>
4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12079</title>
5 <style type="text/css">
6 div.playground { position: relative; width: 90px; height: 90px; }
7 .red { background-color: yellow; }
8 .blue { background-color: blue; }
9 .green { background-color: green; }
10 .zero { height: 0; width: 60px; }
11 .half { height: 30px; width: 60px; }
12 .full { height: 60px; width: 60px; }
13 </style>
14 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script>
15 <script type="text/javascript">
16 function paintInvalidationTest()
17 {
18 var div1 = document.getElementById("div1");
19 div1.style.height = "0";
20
21 var div2 = document.getElementById("div2");
22 div2.style.height = "30px";
23
24 var top = document.getElementById("top");
25 top.style.height = "0";
26
27 var top = document.getElementById("innerDiv");
28 innerDiv.style.height = "15px";
29 }
30 </script>
31 </head>
32 <body onload="runPaintInvalidationTest()">
33 <div class="playground">
34 <div id="div1" class="blue half"></div>
35 <div class="red half"></div>
36 <div class="green half"></div>
37 </div>
38
39 <div class="playground">
40 <div><div id="top" class="blue half"></div></div>
41 <div class="red half"></div>
42 <div class="green half"></div>
43 </div>
44
45 <div class="playground">
46 <div id="div2" class="zero"></div>
47 <div class="green half"></div>
48 <div class="red half"></div>
49 </div>
50
51 <div class="playground" style="margin-top: 30px;">
52 <div style="width: 10px; margin: auto;">
53 <div id="innerDiv"></div>
54 </div>
55 <div class="half"></div>
56 <div class="half" style="border-top: solid yellow 8px;"></div>
57 </div>
58 </body>
59 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698