| Index: LayoutTests/fast/repaint/justify-self-change-keeping-geometry.html
|
| diff --git a/LayoutTests/fast/repaint/justify-self-change.html b/LayoutTests/fast/repaint/justify-self-change-keeping-geometry.html
|
| similarity index 89%
|
| copy from LayoutTests/fast/repaint/justify-self-change.html
|
| copy to LayoutTests/fast/repaint/justify-self-change-keeping-geometry.html
|
| index c9008050862f7249c3ef7f07cbcfb629d5db1dbc..99d756281f6400583216ddec9f26b95cec17cab5 100644
|
| --- a/LayoutTests/fast/repaint/justify-self-change.html
|
| +++ b/LayoutTests/fast/repaint/justify-self-change-keeping-geometry.html
|
| @@ -2,8 +2,8 @@
|
| <script src="resources/text-based-repaint.js"></script>
|
| <script>
|
| function repaintTest() {
|
| - document.getElementsByClassName('item1')[0].style.justifySelf = 'start';
|
| - document.getElementsByClassName('item2')[0].style.justifySelf = 'end';
|
| + document.getElementsByClassName('item1')[0].style.justifySelf = 'left';
|
| + document.getElementsByClassName('item2')[0].style.justifySelf = 'right';
|
| }
|
| onload = runRepaintTest;
|
| </script>
|
| @@ -14,7 +14,6 @@ body {
|
| #container {
|
| display: grid;
|
| grid: 100px 100px / 150px 150px;
|
| - justify-items: center;
|
| width: 200px;
|
| height: 300px;
|
| background-color: red;
|
| @@ -22,15 +21,15 @@ body {
|
| .item1 {
|
| grid-row: 1;
|
| grid-column: 1;
|
| + justify-self: start;
|
| background-color: green;
|
| - border: solid thin blue;
|
| width: 50px;
|
| }
|
| .item2 {
|
| grid-row: 1;
|
| grid-column: 2;
|
| + justify-self: end;
|
| background-color: green;
|
| - border: solid thin blue;
|
| width: 50px;
|
| </style>
|
| <p style="height: 20px">Tests invalidation on justify-self style change. Passes if there is no red.</p>
|
|
|