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/repaint/reflection-invalidation-positioned-child.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 <style> 2 <style>
3 body { 3 body {
4 margin: 0; 4 margin: 0;
5 } 5 }
6 #box { 6 #box {
7 width: 100px; 7 width: 100px;
8 height: 100px; 8 height: 100px;
9 background-color: green; 9 background-color: green;
10 -webkit-box-reflect: below; 10 -webkit-box-reflect: below;
(...skipping 25 matching lines...) Expand all
36 <!-- 36 <!--
37 Tests paint invalidation of positioned object when its ancestor changes reflecti on. 37 Tests paint invalidation of positioned object when its ancestor changes reflecti on.
38 Passes if there is no red. 38 Passes if there is no red.
39 --> 39 -->
40 <div id="box"> 40 <div id="box">
41 <div id="positioned"></div> 41 <div id="positioned"></div>
42 </div> 42 </div>
43 <div id="box-check"> 43 <div id="box-check">
44 <div id="positioned-check"></div> 44 <div id="positioned-check"></div>
45 </div> 45 </div>
46 <script src="resources/text-based-repaint.js"></script> 46 <script src="resources/repaint.js"></script>
47 <script> 47 <script>
48 function repaintTest() { 48 function repaintTest() {
49 box.style.webkitBoxReflect = 'below 20px'; 49 box.style.webkitBoxReflect = 'below 20px';
50 } 50 }
51 runRepaintTest(); 51 runRepaintTest();
52 </script> 52 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698