| <!DOCTYPE html> |
| <style> |
| #scroller { |
| overflow: hidden; |
| columns: 2; |
| column-fill: auto; |
| padding: 0; |
| gap: 0; |
| width: 400px; |
| height: 100px; |
| } |
| |
| #scroller::scroll-marker-group { |
| display: flex; |
| height: 200px; |
| background: gray; |
| } |
| |
| #scroller>div::scroll-marker { |
| display: block; |
| width: 25px; |
| height: 50%; |
| content: ""; |
| background: yellow; |
| } |
| |
| fieldset { |
| border: 3px solid black; |
| } |
| </style> |
| <p>There should be a yellow square inside a gray box below, and below that, a |
| fieldset with a legend. The text "first" and "second" should be seen |
| inside.</p> |
| <div style="height:200px; background:gray;"> |
| <div style="width:100px; height:100px; background:yellow;"></div> |
| </div> |
| <fieldset id="scroller"> |
| <legend>Legend</legend> |
| <div style="break-before:column;">first</div> |
| <div style="break-before:column;">second</div> |
| <div style="break-before:column;">third</div> |
| </fieldset> |