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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/align-self-change-grid-expected.html

Issue 2261733002: [css-grid] Only force full invalidation when grid item data change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch rebased. Created 4 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
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <style> 2 <style>
3 body { 3 body {
4 margin: 0; 4 margin: 0;
5 } 5 }
6 #container { 6 #container {
7 display: grid; 7 display: grid;
8 grid: 300px / 100px 100px; 8 grid: 300px / 100px 100px;
9 width: 200px; 9 width: 200px;
10 height: 300px; 10 height: 300px;
11 } 11 }
12 .item1 { 12 .item1 {
13 grid-row: 1; 13 grid-row: 1;
14 grid-column: 1; 14 grid-column: 1;
15 align-self: stretch; 15 align-self: stretch;
16 background-color: green; 16 background-color: green;
17 } 17 }
18 .item2 { 18 .item2 {
19 grid-row: 1; 19 grid-row: 1;
20 grid-column: 2; 20 grid-column: 2;
21 align-self: stretch; 21 align-self: start;
22 background-color: green;
23 }
24 .item3 {
25 grid-row: 1;
26 grid-column: 2;
27 align-self: end;
22 background-color: green; 28 background-color: green;
23 } 29 }
24 </style> 30 </style>
25 <p style="height: 20px">Tests invalidation on align-self style change. Passes if there is no red.</p> 31 <p style="height: 20px">Tests invalidation on align-self style change. Passes if there is no red.</p>
26 <div id="container"> 32 <div id="container">
27 <div class="item1"> 33 <div class="item1">
28 <div style="height: 50px"></div> 34 <div style="height: 50px"></div>
29 </div> 35 </div>
30 <div class="item2"> 36 <div class="item2">
31 <div style="height: 50px"></div> 37 <div style="height: 150px"></div>
38 </div>
39 <div class="item3">
40 <div style="height: 150px"></div>
32 </div> 41 </div>
33 </div> 42 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698