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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/resize-child-within-overflow.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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('child').style.width = '600px'; 6 document.getElementById('child').style.width = '600px';
7 } 7 }
8 window.onload = runRepaintTest; 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 .container { 14 .container {
15 position: absolute; 15 position: absolute;
16 height: 1000px; 16 height: 1000px;
17 background-color: blue; 17 background-color: blue;
18 } 18 }
19 #child { 19 #child {
20 width: 400px; 20 width: 400px;
21 } 21 }
22 .overflow { 22 .overflow {
23 width: 800px; 23 width: 800px;
24 height: 50px; 24 height: 50px;
25 } 25 }
26 </style> 26 </style>
27 <div class="container"> 27 <div class="container">
28 <div id="child"> 28 <div id="child">
29 <div class="overflow"></div> 29 <div class="overflow"></div>
30 </div> 30 </div>
31 </div> 31 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698