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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/align-content-change-keeping-geometry-expected.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 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <script src="resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest() {
5 document.getElementById('container').style.alignContent = 'center';
6 }
7 onload = runRepaintTest;
8 </script>
9 <style> 2 <style>
10 #container { 3 #container {
11 display: flex; 4 display: flex;
12 align-items: flex-start; 5 align-items: flex-start;
6 align-content: center;
13 width: 200px; 7 width: 200px;
14 height: 300px; 8 height: 300px;
15 background-color: red; 9 background-color: red;
16 } 10 }
17 .item { 11 .item {
18 background-color: green; 12 background-color: green;
19 border: solid thin blue; 13 border: solid thin blue;
20 width: 100px; 14 width: 100px;
21 height: 300px; 15 height: 300px;
22 } 16 }
23 </style> 17 </style>
24 <p style="height: 20px">There should be no invalidations because align-content s tyle change causes no visual change.</p> 18 <p style="height: 20px">There should be no invalidations because align-content s tyle change causes no visual change.</p>
25 <div id="container"> 19 <div id="container">
26 <div class="item"></div> 20 <div class="item"></div>
27 <div class="item"></div> 21 <div class="item"></div>
28 </div> 22 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698