Status: FAIL | Duration: 17ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-grid/grid-lanes/alignment/row-align-items-end-align-self-start-001.html
<!DOCTYPE html> <html> <title>CSS Grid Lanes Test: Alignment for items and self in grid axis</title> <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com"> <link rel="help" href="https://drafts.csswg.org/css-grid-3/#alignment"> <link rel="match" href="row-align-items-end-align-self-start-001-ref.html"> <style> .grid-lanes { display: grid-lanes; background: gray; flow-tolerance: 0; grid-template-rows: repeat(3, 100px); width: 300px; align-items: end; } .fifty-width { width: 50px; background-color: lightblue; } </style> <body> <p>Test that using align-items moves each grid-lanes item to the end of the grid-axis track it is on</p> <p>and that align-self overrides align-items.</p> <div class="grid-lanes"> <div style="width: 50px; height: 50px; background-color: lightblue;"></div> <div style="width: 100px; height: 15px; background-color: lightsalmon; align-self: start;"></div> <div style="width: 25px; height: 25px; background-color: plum;"></div> <div style="background-color: lightgreen; width: 60px; height: 60px;"></div> <div style="background-color: lightpink; height: 80px; width: 200px; grid-row: span 2;"></div> </div> </body> </html>
/css/css-grid/grid-lanes/alignment/row-align-items-end-align-self-start-001-ref.html
<!DOCTYPE html> <html> <style> .grid { display: grid; background: gray; grid-template-rows: repeat(3, 100px); grid-template-columns: 100px auto; width: 300px; align-items: end; } </style> <body> <p>Test that using align-items moves each grid-lanes item to the end of the grid-axis track it is on</p> <p>and that align-self overrides align-items.</p> <div class="grid"> <div style="width: 50px; height: 50px; background-color: lightblue;"></div> <div style="background-color: lightpink; height: 80px; width: 200px; grid-row: span 2;"></div> <div style="width: 100px; height: 15px; background-color: lightsalmon; align-self: start;"></div> <div style="width: 25px; height: 25px; background-color: plum;"></div> <div style="background-color: lightgreen; width: 60px; height: 60px; transform: translateX(-75px);"></div> </div> </body> </html>