trisquel-icecat/icecat/testing/web-platform/tests/css/css-pseudo/highlight-styling-005-ref.html
2025-10-06 02:35:48 -06:00

21 lines
563 B
HTML

<!doctype HTML>
<html>
<meta charset="utf-8">
<title>CSS Pseudo-Elements Reference: Invalidation on custom property changes</title>
<script src="support/selections.js"></script>
<link rel="stylesheet" href="support/highlights.css">
<style>
main::selection {
background-color: green;
}
</style>
<body>
<p>Test passes if the text below has green background.</p>
<main class="highlight_reftest">
<p>quick</p>
</main>
<script>
selectNodeContents(document.querySelector('main'));
</script>
</body>
</html>