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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/align-content-change-no-flex.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
OLDNEW
1 <!-- Based on fast/repaint/align-content-change-no-flex.html -->
1 <!DOCTYPE HTML> 2 <!DOCTYPE HTML>
2 <script src="resources/text-based-repaint.js"></script> 3 <script src="resources/paint-invalidation-test.js"></script>
3 <script> 4 <script>
4 function repaintTest() { 5 window.expectedPaintInvalidationObjects = [
6 ];
7 function paintInvalidationTest() {
5 document.getElementById('container').style.alignContent = 'flex-end'; 8 document.getElementById('container').style.alignContent = 'flex-end';
6 } 9 }
7 onload = runRepaintTest; 10 onload = runPaintInvalidationTest;
8 </script> 11 </script>
9 <style> 12 <style>
10 .container { 13 .container {
11 width: 200px; 14 width: 200px;
12 height: 300px; 15 height: 300px;
13 background-color: blue; 16 background-color: blue;
14 } 17 }
15 .item { 18 .item {
16 background-color: green; 19 background-color: green;
17 border: solid thin blue; 20 border: solid thin blue;
18 } 21 }
19 </style> 22 </style>
20 There should be no invalidations when align-content changes on a non-flex contai ner. 23 There should be no invalidations when align-content changes on a non-flex contai ner.
21 <div id="container"> 24 <div id="container">
22 <div class="item"> 25 <div class="item">
23 <div style="height: 100px"></div> 26 <div style="height: 100px"></div>
24 </div> 27 </div>
25 <div class="item"> 28 <div class="item">
26 <div style="height: 150px"></div> 29 <div style="height: 150px"></div>
27 </div> 30 </div>
28 </div> 31 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698