Status: FAIL | Duration: 10ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-overflow/scroll-markers/scroll-marker-001.html
<!doctype html> <meta charset="utf-8"> <title>CSS Test: ::scroll-marker with ::scroll-marker-group after</title> <link rel="match" href="scroll-marker-001-ref.html"> <link rel="help" href="https://drafts.csswg.org/css-overflow-5/#scroll-marker-pseudo"> <style> #scroller { width: 600px; height: 300px; overflow: scroll; scroll-marker-group: after; } #scroller div { width: 600px; height: 300px; margin-bottom: 20px; background: green; } #scroller::scroll-marker-group { border: 3px solid black; padding: 5px; height: 20px; display: block; } #scroller div::scroll-marker { content: ""; width: 10px; height: 10px; background-color: blue; border-radius: 100%; display: inline-block; } #scroller #first::scroll-marker { background-color: purple; margin-right: 4px; } </style> <div id="scroller"> <div id="first"></div> <div></div> </div>
/css/css-overflow/scroll-markers/scroll-marker-001-ref.html
<!doctype html> <meta charset="utf-8"> <title>CSS Reference File: ::scroll-marker with ::scroll-marker-group after</title> <style> #scroller { width: 600px; height: 300px; overflow: scroll; } #scroller div { width: 600px; height: 300px; margin-bottom: 20px; background: green; } #scroll-marker-group { border: 3px solid black; padding: 5px; height: 20px; } #scroll-marker-group>div { display: inline-block; width: 10px; height: 10px; background-color: blue; border-radius: 100%; } #scroll-marker-group>#first { background-color: purple; } </style> <div id="scroller"> <div></div> <div></div> </div> <div id="scroll-marker-group"> <div id="first"></div> <div></div> </div>