summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/font-variant-position-04-notref.html
blob: 5bfe6db4331e861c0dbb090161105ea149d3831e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8"/>
<title>CSS Reference (mismatch)</title>

<style>
    /* Lato has superscript Latin letters, but not subscript ones;
     * digits are available in both super- and subscript form.
     */
    @font-face {
        font-family: "lato";
        src: url(support/fonts/Lato-Medium.ttf);
    }
    .test {
        font-family: "lato";
        font-size: 2em;
    }
</style>

<section class="test">
    <p>Synthetic subscript letters <em>must</em> be used:</p>
    <p>Text with subscript letters</p>
</section>