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

13 lines
273 B
HTML
Raw Normal View History

<!doctype html>
<link rel="match" href="../expected/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>