Status: FAIL | Duration: 8ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-pseudo/relative-box-order-of-pseudo-elements.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Test: relative box order of pseudo elements</title> <link rel="match" href="relative-box-order-of-pseudo-elements-ref.html"> <link rel="help" href="https://drafts.csswg.org/css-overflow-5/#scroll-markers"> <link rel="help" href="https://drafts.csswg.org/css-overflow-5/#scroll-buttons"> <style> div { overflow: auto; scroll-marker-group: after; } div::before { background: red; content: ""; height: 20px; width: 100px; display: flex; } div > li { background: orange; height: 20px; width: 100px; display: flex; } div::after { background: yellow; content: ""; height: 20px; width: 100px; display: flex; } div::scroll-button(up) { background: green; border: none; content: ""; height: 20px; width: 100px; display: flex; } div::scroll-button(right) { content: ""; border: none; background: blue; height: 20px; width: 100px; display: flex; } div::scroll-marker-group { background: purple; height: 20px; width: 100px; display: flex; } </style> <div> <li></li> </div>
/css/css-pseudo/relative-box-order-of-pseudo-elements-ref.html
<!doctype html> <meta charset="utf-8"> <title>CSS Reference File: relative box order of pseudo elements</title> <style> div { height: 20px; width: 100px; } </style> <div style="background-color: red;"></div> <div style="background-color: orange;"></div> <div style="background-color: yellow;"></div> <div style="background-color: green;"></div> <div style="background-color: blue;"></div> <div style="background-color: purple;"></div>