ladybird/Tests/LibWeb/Ref/css-pseudo-element-in-has.html

12 lines
271 B
HTML

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