summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/highlight-paired-cascade-005-ref.html
blob: 0ac5c02b203bc0b84438e960cd5d015e47303982 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!doctype html>
<meta charset="utf-8">
<link rel="author" name="Delan Azabani" href="mailto:dazabani@igalia.com">
<script src="support/selections.js"></script>
<link rel="stylesheet" href="support/highlights.css">
<style>
    main {
        font-size: 7em;
        margin: 0.5em;
    }
    main::selection {
        background-color: transparent;
        color: black;
    }
</style>
<p>Test passes if the text below does not appear to be highlighted.
<main class="highlight_reftest">quick</main>
<script>selectNodeContents(document.querySelector("main"));</script>