wpt / css / css-overflow / scroll-markers / column-scroll-marker-reattach-target-current.html

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

/css/css-overflow/scroll-markers/column-scroll-marker-reattach-target-current.html

<!DOCTYPE html>
<title>CSS Overflow Test: ::column::scroll-marker display type change on :target-current</title>
<link rel="help" href="https://issues.chromium.org/issues/378726503">
<link rel="match" href="column-scroll-marker-reattach-target-current-ref.html">
<style>
  * {
    font-family: monospace;
  }

  #scroller {
    overflow: hidden;
    scroll-marker-group: before;
    columns: 1;
    gap: 0;
    height: 100px;
    width: 100px;
  }
  #scroller::scroll-marker-group {
    display: block;
    height: 100px;
  }
  #scroller::column::scroll-marker {
    display: flex;
    content: "PASS";
  }
  #scroller::column::scroll-marker:target-current {
    display: block;
  }
  #item {
    height: 100px;
    width: 100px;
  }
</style>
<p>The word "PASS" should be seen below.</p>
<div id="scroller">
  <div id="item"></div>
</div>

/css/css-overflow/scroll-markers/column-scroll-marker-reattach-target-current-ref.html

<!DOCTYPE html>
<style>
  * {
    font-family: monospace;
  }
</style>
<p>The word "PASS" should be seen below.</p>
<div style="overflow:hidden;">
  <a href="#">PASS</a>
</div>