summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/highlight-cascade/highlight-paired-cascade-004-notref.html
blob: 72490b1461d6d4008edec59dd53b12f686a14c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<meta charset="utf-8">
<link rel="author" name="Delan Azabani" href="mailto:dazabani@igalia.com">
<link rel="stylesheet" href="../support/highlights.css">
<style>
    :link, :visited {
        color: blue;
    }
    main {
        font-size: 7em;
        margin: 0.5em;
    }
    /*
        UA default highlight colors for ::target-text.
    */
</style>
<p>Test passes if the text below does not appear to be highlighted (<a href="">test again</a>).
<main class="highlight_reftest">quick</main>
<script>location.href = "#:~:text=quick";</script>