Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / align-self-overflow-change.html
blob56751d002d6396e480d15edfe31449508f20898b
1 <!DOCTYPE HTML>
2 <script src="resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest() {
5 document.getElementsByClassName('item1')[0].style.alignSelf = 'end safe';
6 document.getElementsByClassName('item2')[0].style.alignSelf = 'end safe';
8 onload = runRepaintTest;
9 </script>
10 <style>
11 body {
12 margin: 0;
14 #container {
15 display: grid;
16 grid: 200px / 150px 150px;
17 width: 200px;
18 height: 300px;
19 background-color: red;
21 .item1 {
22 grid-row: 1;
23 grid-column: 1;
24 align-self: end true;
25 background-color: green;
27 .item2 {
28 grid-row: 2;
29 grid-column: 1;
30 align-self: end true;
31 background-color: green;
32 </style>
33 <p style="height: 20px">Tests invalidation on align-self style change (just overflow). Passes if there is no red.</p>
34 <div id="container">
35 <div class="item1">
36 <div style="height: 200px"></div>
37 </div>
38 <div class="item2">
39 <div style="height: 100px"></div>
40 </div>
41 </div>