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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/padding-keeping-visual-size.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 // No visual change. Optimally, there should be no repaint. 6 // No visual change. Optimally, there should be no repaint.
7 var target1 = document.getElementById('target1'); 7 var target1 = document.getElementById('target1');
8 target1.style.padding = '20px'; 8 target1.style.padding = '20px';
9 target1.style.width = '60px'; 9 target1.style.width = '60px';
10 target1.style.height = '60px'; 10 target1.style.height = '60px';
(...skipping 20 matching lines...) Expand all
31 top: 200px; 31 top: 200px;
32 } 32 }
33 .inner { 33 .inner {
34 width: 100%; 34 width: 100%;
35 height: 100%; 35 height: 100%;
36 background-color: yellow; 36 background-color: yellow;
37 } 37 }
38 </style> 38 </style>
39 <div id="target1" class="outer"></div> 39 <div id="target1" class="outer"></div>
40 <div id="target2" class="outer"><div class="inner"></div></div> 40 <div id="target2" class="outer"><div class="inner"></div></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698