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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/layer-creation/compositing-reason-removed.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, 6 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/compositing/layer-creation/compositing-reason-removed-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 #square { 3 #square {
4 background-color: blue; 4 background-color: blue;
5 width: 30px; 5 width: 30px;
6 height: 30px; 6 height: 30px;
7 position: relative; 7 position: relative;
8 -webkit-backface-visibility: hidden; 8 -webkit-backface-visibility: hidden;
9 } 9 }
10 10
11 #testResults { 11 #testResults {
12 display: none; 12 display: none;
13 } 13 }
14 </style> 14 </style>
15 15
16 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 16 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
17 <script> 17 <script>
18 function repaintTest() { 18 function repaintTest() {
19 // Remove the div's only compositing reason. This should trigger a repaint. 19 // Remove the div's only compositing reason. This should trigger a repaint.
20 document.getElementById("square").style.webkitBackfaceVisibility = "visible" ; 20 document.getElementById("square").style.webkitBackfaceVisibility = "visible" ;
21 } 21 }
22 runRepaintTest(); 22 runRepaintAndPixelTest();
23 </script> 23 </script>
24 24
25 <div id="square"></div> 25 <div id="square"></div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/compositing/layer-creation/compositing-reason-removed-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698