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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/align-content-change-no-flex.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 document.getElementById('container').style.alignContent = 'flex-end'; 5 document.getElementById('container').style.alignContent = 'flex-end';
6 } 6 }
7 onload = runRepaintTest; 7 onload = runRepaintAndPixelTest;
8 </script> 8 </script>
9 <style> 9 <style>
10 .container { 10 .container {
11 width: 200px; 11 width: 200px;
12 height: 300px; 12 height: 300px;
13 background-color: blue; 13 background-color: blue;
14 } 14 }
15 .item { 15 .item {
16 background-color: green; 16 background-color: green;
17 border: solid thin blue; 17 border: solid thin blue;
18 } 18 }
19 </style> 19 </style>
20 There should be no invalidations when align-content changes on a non-flex contai ner. 20 There should be no invalidations when align-content changes on a non-flex contai ner.
21 <div id="container"> 21 <div id="container">
22 <div class="item"> 22 <div class="item">
23 <div style="height: 100px"></div> 23 <div style="height: 100px"></div>
24 </div> 24 </div>
25 <div class="item"> 25 <div class="item">
26 <div style="height: 150px"></div> 26 <div style="height: 150px"></div>
27 </div> 27 </div>
28 </div> 28 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698