wpt / css / css-align / abspos / default-overflow-with-scroll.html

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

Data from commit:
708eb61 WPT runner: support mismatch reftests and multiple rel=match links (#665) (2026-08-09)

SubtestStatusMessage
.container 1PASS
.container 2FAILassert_equals: data-expected-scroll-width expected 150 got 200 assert_equals: data-expected-scroll-height expected 150 got 200
.container 3FAILassert_equals: data-expected-scroll-width expected 150 got 200 assert_equals: data-expected-scroll-height expected 150 got 200
.container 4FAILassert_equals: data-expected-scroll-width expected 200 got 150
.container 5FAILassert_equals: data-expected-scroll-height expected 150 got 200
.container 6FAILassert_equals: data-expected-scroll-height expected 150 got 200

/css/css-align/abspos/default-overflow-with-scroll.html

<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-align-3/#auto-safety-position">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<style>
.container {
  position: relative;
  overflow: scroll;
  scrollbar-width: none;
  width: 100px;
  height: 100px;
  border: solid 2px;
  margin: 10px;
}
.vrl {
  writing-mode: vertical-rl;
  direction: rtl;
}

.abspos {
  position: absolute;
  background: green;
  width: 150px;
  height: 150px;
  /* Creates an IMCB which is 0x0 in the middle of the container. */
  inset: 50px;
}
</style>
<body onload="checkLayout('.container')">

<div class="container" data-expected-scroll-width="200" data-expected-scroll-height="200">
  <div class="abspos" style="place-self: start;"></div>
</div>
<div class="container" data-expected-scroll-width="150" data-expected-scroll-height="150">
  <div class="abspos" style="place-self: center;"></div>
</div>
<div class="container" data-expected-scroll-width="150" data-expected-scroll-height="150">
  <div class="abspos" style="place-self: end;"></div>
</div>

<div class="container vrl" data-expected-scroll-width="200" data-expected-scroll-height="200">
  <div class="abspos" style="place-self: start;"></div>
</div>
<div class="container vrl" data-expected-scroll-width="150" data-expected-scroll-height="150">
  <div class="abspos" style="place-self: center;"></div>
</div>
<div class="container vrl" data-expected-scroll-width="150" data-expected-scroll-height="150">
  <div class="abspos" style="place-self: end;"></div>
</div>

<div id=log></div>