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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/resize-with-border.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script> 2 <script src="resources/text-based-repaint.js"></script>
3 <script> 3 <script>
4 function repaintTest() 4 function repaintTest()
5 { 5 {
6 document.getElementById('div').style.width = '400px'; 6 document.getElementById('div').style.width = '400px';
7 } 7 }
8 window.onload = runRepaintAndPixelTest; 8 window.onload = runRepaintAndPixelTest;
9 </script> 9 </script>
10 <style> 10 <style>
11 body { 11 body {
12 margin: 0; 12 margin: 0;
13 } 13 }
14 #div { 14 #div {
15 position: absolute; 15 position: absolute;
16 top: 100px; 16 top: 100px;
17 left: 100px; 17 left: 100px;
18 width: 200px; 18 width: 200px;
19 height: 200px; 19 height: 200px;
20 border: green 10px solid; 20 border: green 10px solid;
21 } 21 }
22 </style> 22 </style>
23 <div> 23 <div>
24 Tests repaint when a box with border is resized. 24 Tests repaint when a box with border is resized.
25 Passes if the result paint rects cover all changed part, 25 Passes if the result paint rects cover all changed part,
26 the new border is correctly drawn and there is no residue of the old border. 26 the new border is correctly drawn and there is no residue of the old border.
27 </div> 27 </div>
28 <div id="div"></div> 28 <div id="div"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698