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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/box-shadow/shadow-box-resize-writing-mode.html

Issue 1972273002: Let repaint tests test pixels by default (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="../repaint/resources/text-based-repaint.js"></script> 2 <script src="../repaint/resources/repaint.js"></script>
3 <script> 3 <script>
4 function repaintTest() 4 function repaintTest()
5 { 5 {
6 document.getElementById('target1').style.width = '150px'; 6 document.getElementById('target1').style.width = '150px';
7 document.getElementById('target2').style.width = '50px'; 7 document.getElementById('target2').style.width = '50px';
8 document.getElementById('target3').style.height = '150px'; 8 document.getElementById('target3').style.height = '150px';
9 document.getElementById('target4').style.height = '50px'; 9 document.getElementById('target4').style.height = '50px';
10 } 10 }
11 window.onload = runRepaintTest; 11 window.onload = runRepaintTest;
12 </script> 12 </script>
(...skipping 23 matching lines...) Expand all
36 } 36 }
37 #target4 { 37 #target4 {
38 top: 300px; 38 top: 300px;
39 left: 300px; 39 left: 300px;
40 } 40 }
41 </style> 41 </style>
42 <div id="target1"></div> 42 <div id="target1"></div>
43 <div id="target2"></div> 43 <div id="target2"></div>
44 <div id="target3"></div> 44 <div id="target3"></div>
45 <div id="target4"></div> 45 <div id="target4"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698