<!doctype html>
<meta charset="utf-8">
<title>CSS Test: two scroll-marker-group with dynamic change</title>
<link rel="match" href="scroll-marker-group-007-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-overflow-5/#scroll-marker-group-pseudo">
<style>
  div::scroll-marker-group {
    display: flex;
    height: 50px;
    width: 100px;
  }

  div.scroll-marker-group-before {
    overflow: auto;
    scroll-marker-group: before;
  }

  div.scroll-marker-group-before::scroll-marker-group {
    ba