summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text-decor/text-decoration-underline-position-vertical-ja.html
blob: 6f41e939b24ffdfeac213879550c6c5d1158b922 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <link rel="help" href="https://www.w3.org/TR/css-text-decor-3/#text-underline-position-property">
    <link rel="match" href="reference/text-decoration-underline-position-vertical-ja-ref.html">
    <style>
        body { writing-mode: vertical-rl; }
        .underline { text-decoration: underline; }
        .overline { text-decoration: overline; }
    </style>
</head>
<body lang="ja">
    <div>In vertical writing mode with lang=ja, default overline will be same as underline (lang=en). However, when we set text-underline-position to "under left" it should be shifted.</div>
    <div class="underline" style="text-underline-position: under left">サンプル</div>
    <div class="overline">サンプル</div>
</body>
</html>