Automatic update from web-platform-tests WebKit export of https://bugs.webkit.org/show_bug.cgi?id=317461 (#61173) -- wpt-commits: 88ab16022ac71942a74a623a13593ded3cec5c84 wpt-pr: 61173
26 lines
678 B
HTML
26 lines
678 B
HTML
<!DOCTYPE html>
|
|
<link rel="help" href="https://drafts.csswg.org/css-grid-1/">
|
|
<link rel="help" href="https://drafts.csswg.org/css-align-3/#justify-content">
|
|
<link rel="match" href="grid-justify-content-end-001-ref.html">
|
|
<style>
|
|
.grid {
|
|
display: grid;
|
|
width: 100px;
|
|
height: 100px;
|
|
grid-template-columns: 50px;
|
|
grid-template-rows: 50px;
|
|
justify-content: end;
|
|
border: 10px solid black;
|
|
}
|
|
.item {
|
|
width: 50px;
|
|
height: 50px;
|
|
grid-row: 1/2;
|
|
background-color: green;
|
|
}
|
|
</style>
|
|
<p>Test passes if the green box is at the top-right of the grid content area, inside the black border.</p>
|
|
<div class="grid">
|
|
<div class="item"></div>
|
|
</div>
|