<!doctype html>
<meta charset="utf-8">
<link rel="author" title="Delan Azabani" href="mailto:[email protected]">
<script src="support/selections.js"></script>
<link rel="stylesheet" href="support/highlights.css">
<style>
main {
font-size: 7em;
margin: 0.5em;
}
main::selection {
color: white;
background-color: green;
}
</style>
<p>Test passes if the text below is white on green.
<main class="highlight_reftest">quick</main>
<script>selectNodeContents(document.querySelector("main"));</script>