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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/fixed-margin-change-repaint.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 <style> 3 <style>
4 body { 4 body {
5 margin: 0; 5 margin: 0;
6 } 6 }
7 #container { 7 #container {
8 position: relative; 8 position: relative;
9 top: 40px; 9 top: 40px;
10 width: 200px; 10 width: 200px;
(...skipping 10 matching lines...) Expand all
21 function repaintTest() 21 function repaintTest()
22 { 22 {
23 document.getElementById("test").style['margin-top'] = '20px'; 23 document.getElementById("test").style['margin-top'] = '20px';
24 } 24 }
25 window.onload = runRepaintAndPixelTest; 25 window.onload = runRepaintAndPixelTest;
26 </script> 26 </script>
27 <div id="container"> 27 <div id="container">
28 <div id="test"></div> 28 <div id="test"></div>
29 </div> 29 </div>
30 Tests the repainting of fixed element when margin-top changes. 30 Tests the repainting of fixed element when margin-top changes.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698