summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text-decor/text-emphasis-style-021.html
blob: 285d26075dc3e358430dca928147fa5c852fc0f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html>
        <head>
                <meta charset="utf-8">
                <title>CSS Text Decoration Test - text-emphasis</title>
                <link rel="author" title="Shinsuke Matsuki" href="mailto:shinsk@gmail.com">
                <link rel="help" href="http://www.w3.org/TR/css-text-decor-3/#text-emphasis-style-property" title="3.1. Emphasis Mark Style: the ‘text-emphasis-style’ property">
                <link rel="match" href="reference/text-emphasis-style-021-ref.html">
                <meta name="assert" content="This test checks 'text-emphasis-style:string'.">
                <style>
                    div {
                        font: 1.5em monospace;
                    }
                    span {
                        text-emphasis-style: '^';
                    }
                </style>
        </head>
        <body>
                <p>Test passes if "^" is above every single character of "Text sample".</p>
                <div>
                        <span>Text</span> <span>sample</span>
                </div>
        </body>
</html>