| <!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> |