Newer
Older
minerva / Tests / LibWeb / Ref / css-pseudo-element-in-has.html
@minerva minerva on 13 Jul 271 bytes Initial commit
<!doctype html>
<link rel="match" href="reference/css-pseudo-element-in-has.html" />
<style>
    span::after {
        content: "bar";
        color: red;
    }
    a:has(::after) {
        color: orange;
    }
</style>
<a href="https://example.com"><span>foo</span></a>