1
0
Fork 0
firefox/testing/web-platform/tests/css/css-pseudo/highlight-styling-005-ref.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02: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>