summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-priority-text-decoration-001-ref.html
blob: aa76cf08b46c2f1ab1a7ab2b5f4dbf5a1a11bbef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html>
<head>
    <title>CSS Highlight API Test: ::highlight text-decoration paints over higher priority when not clashing</title>
    <style>
        #yellow-highlight {
            background-color: yellow;
            text-decoration: underline;
            text-decoration-color: red;
        }
    </style>
</head>
<body>
    <span id="yellow-highlight">Yellow</span>
</body>
</html>