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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/align-self-change-keeping-geometry-grid.html

Issue 1366763002: Text expectations of paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 <!-- Based on fast/repaint/align-self-change-keeping-geometry-grid.html --> 1 <!-- Based on fast/repaint/align-self-change-keeping-geometry-grid.html -->
2 <!DOCTYPE HTML> 2 <!DOCTYPE HTML>
3 <script src="resources/paint-invalidation-test.js"></script> 3 <script src="resources/paint-invalidation-test.js"></script>
4 <script> 4 <script>
5 window.expectedPaintInvalidationObjects = [
6 ];
7 function paintInvalidationTest() { 5 function paintInvalidationTest() {
8 document.getElementsByClassName('item')[0].style.alignSelf = 'stretch'; 6 document.getElementsByClassName('item')[0].style.alignSelf = 'stretch';
9 } 7 }
10 onload = runPaintInvalidationTest; 8 onload = runPaintInvalidationTest;
11 </script> 9 </script>
12 <style> 10 <style>
13 body { 11 body {
14 margin: 0; 12 margin: 0;
15 } 13 }
16 #container { 14 #container {
17 display: grid; 15 display: grid;
18 grid: 100px / 300px; 16 grid: 100px / 300px;
19 width: 200px; 17 width: 200px;
20 height: 300px; 18 height: 300px;
21 background-color: red; 19 background-color: red;
22 } 20 }
23 .item { 21 .item {
24 grid-row: 1; 22 grid-row: 1;
25 grid-column: 1; 23 grid-column: 1;
26 align-self: start; 24 align-self: start;
27 background-color: green; 25 background-color: green;
28 } 26 }
29 </style> 27 </style>
30 <p style="height: 20px">There should be no invalidations because align-self styl e change causes no visual change.</p> 28 <p style="height: 20px">There should be no invalidations because align-self styl e change causes no visual change.</p>
31 <div id="container"> 29 <div id="container">
32 <div class="item"> 30 <div class="item">
33 <div style="height: 300px"></div> 31 <div style="height: 300px"></div>
34 </div> 32 </div>
35 </div> 33 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698