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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/shadow-box-resize-expected.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../repaint/resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest()
5 {
6 document.getElementById('target1').style.width = '150px';
7 document.getElementById('target2').style.width = '50px';
8 document.getElementById('target3').style.height = '150px';
9 document.getElementById('target4').style.height = '50px';
10 }
11 window.onload = runRepaintTest;
12 </script>
13 <style> 2 <style>
14 body { 3 body {
15 margin: 0; 4 margin: 0;
16 } 5 }
17 div { 6 div {
18 position: absolute; 7 position: absolute;
19 width: 100px; 8 width: 100px;
20 height: 100px; 9 height: 100px;
21 background-color: green; 10 background-color: green;
22 box-shadow: 40px 20px black; 11 box-shadow: 40px 20px black;
23 } 12 }
24 #target1 { 13 #target1 {
25 top: 100px; 14 top: 100px;
26 left: 100px; 15 left: 100px;
16 width: 150px;
27 } 17 }
28 #target2 { 18 #target2 {
29 top: 100px; 19 top: 100px;
30 left: 300px; 20 left: 300px;
21 width: 50px;
31 } 22 }
32 #target3 { 23 #target3 {
33 top: 300px; 24 top: 300px;
34 left: 100px; 25 left: 100px;
26 height: 150px;
35 } 27 }
36 #target4 { 28 #target4 {
37 top: 300px; 29 top: 300px;
38 left: 300px; 30 left: 300px;
31 height: 50px;
39 } 32 }
40 </style> 33 </style>
41 <div id="target1"></div> 34 <div id="target1"></div>
42 <div id="target2"></div> 35 <div id="target2"></div>
43 <div id="target3"></div> 36 <div id="target3"></div>
44 <div id="target4"></div> 37 <div id="target4"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698