summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-vertical-writing-mode-001-ref.html
blob: c2bf7ae7bd181bd7b1d0cbf202208cc58e206e9a (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
<!doctype html>
<link rel="stylesheet" href="../../css-pseudo/support/highlights.css">
<meta charset="utf-8">
<style>
    #verticalRL {
        writing-mode: vertical-rl;
    }
    #verticalLR {
        writing-mode: vertical-lr;
    }
    #sidewaysRL {
        writing-mode: sideways-rl;
    }
    #sidewaysLR {
        writing-mode: sideways-lr;
    }
    .highlighted {
      background-color: yellow;
      color: blue;
    }
</style>
<body>
<div id="verticalRL" class="highlight_reftest"><span class="highlighted">One two </span><span>three…</span></div>
<div id="verticalLR" class="highlight_reftest"><span class="highlighted">One two </span><span>three…</span></div>
<div id="sidewaysRL" class="highlight_reftest"><span class="highlighted">One two </span><span>three…</span></div>
<div id="sidewaysLR" class="highlight_reftest"><span class="highlighted">One two </span><span>three…</span></div>