chromium/third_party/blink/web_tests/external/wpt/css/css-sizing/min-max-content-orthogonal-flow-crash-001.html

<!DOCTYPE html>
<title>CSS Test: Check computing min-/max-content does not cause crash</title>
<link rel="help" href="https://crbug.com/976859">
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#sizing-values">
<link rel="author" title="Koji Ishii" href="mailto:[email protected]">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
body {
  width: fit-content;
}
#target {
  display: block;
  writing-mode: vertical-lr;
  columns: 2;
}
.after #target {
  float: left;
}
</style>
<body>
  <div id="target"></div>
<script>
test(() => {
  const body = document.body;
  body.offsetTop;
  body.classList.add("after");
});
</script>
</body>