wpt / css / css-grid / abspos / grid-abspos-staticpos-align-items-self-end-large-border-padding.html

Status: FAIL | Duration: 8ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-grid/abspos/grid-abspos-staticpos-align-items-self-end-large-border-padding.html

<!DOCTYPE html>
<html>
<head>
<link rel="help" href="https://drafts.csswg.org/css-align-3/#align-abspos">
<link rel="help" href="https://www.w3.org/TR/css-position-3/#staticpos-rect">
<link rel="match" href="grid-abspos-staticpos-align-items-self-end-large-border-padding-ref.html">
<meta name="assert" content="Abspos child of grid is aligned to end of grid content box when statically positioned and align-items: self-end in parent.">
<style>
.grid {
  display: grid;
  padding: 13px;
  padding-bottom: 42px;
  border: 23px solid black;
  border-bottom-width: 45px;
  width: 100px;
  height: 100px;
  align-items: self-end;
}
.abspos {
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: green;
}
</style>
</head>
<body>
<div class="grid">
  <div class="abspos"></div>
</div>
</body>
</html>

/css/css-grid/abspos/grid-abspos-staticpos-align-items-self-end-large-border-padding-ref.html

<!DOCTYPE html>
<html>
<head>
<style>
.grid {
  display: grid;
  padding: 13px;
  padding-bottom: 42px;
  border: 23px solid black;
  border-bottom-width: 45px;
  width: 100px;
  height: 100px;
  align-items: self-end;
}
.item {
  width: 50px;
  height: 50px;
  background-color: green;
}
</style>
</head>
<body>
<div class="grid">
  <div class="item"></div>
</div>
</body>
</html>