summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/text-combine-upright-inherit-all-002.html
blob: f461c3e33eda8363a8ef53a264dae20ba476d10c (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
    <title>CSS Writing Modes Test: text-combine-upright :all</title>
    <link rel="author" title="Shinsuke Matsuki" href="mailto:shinsuke.matsuki@access-company.com">
    <link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com">
    <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#text-combine-upright">
    <link rel="match" href="reference/text-combine-upright-inherit-all-002.html">
    <meta name="assert" content="This test checks text-combine-upright:all inherits through the containment hierarchy and interrupted (by a box boundary) text runs">
    <style>
    #container {
        font-size:50px;
    }
    .vrl {
        writing-mode:vertical-rl;
    }
    .tcy {
        text-combine-upright:all;
    }
    </style>
</head>
<body>
    <p>Test passes if the <b>line breaks</b> before <q>56</q>, and all digits are in<b>upright</b> in <b>horizontal</b> flow.
    <div id=container>
        <div class="vrl tcy">
            <table>
                <tr>
                    <td>
                        <div style="display: inline-table">
                            <div style="display: inline-block">
                                <div>12<span>56</span></div>
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</body>
</html>