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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-layout.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 <html> 2 <html>
3 <head> 3 <head>
4 <title>Test for repaint on layout of flexbox</title> 4 <title>Test for repaint on layout of flexbox</title>
5 <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/ javascript"></script> 5 <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/ javascript"></script>
6 <script> 6 <script>
7 function repaintTest() 7 function repaintTest()
8 { 8 {
9 if (window.testRunner) 9 if (window.testRunner)
10 document.getElementById('badge').style.display = "none"; 10 document.getElementById('badge').style.display = "none";
(...skipping 27 matching lines...) Expand all
38 display: inline-block; 38 display: inline-block;
39 height: 20px; 39 height: 20px;
40 width: 80px; 40 width: 80px;
41 } 41 }
42 42
43 .item:hover #badge { 43 .item:hover #badge {
44 display: none; 44 display: none;
45 } 45 }
46 </style> 46 </style>
47 </head> 47 </head>
48 <body onload="runRepaintTest()"> 48 <body onload="runRepaintAndPixelTest()">
49 <nav class="nav-bar"> 49 <nav class="nav-bar">
50 <div class="nav-right"></div> 50 <div class="nav-right"></div>
51 </nav> 51 </nav>
52 <div class="item"> 52 <div class="item">
53 <div class="state"> 53 <div class="state">
54 <div id="badge"></div> 54 <div id="badge"></div>
55 </div> 55 </div>
56 </div> 56 </div>
57 </body> 57 </body>
58 </html> 58 </html>
59 59
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698