summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/reference/active-selection-031-ref.html
blob: 3bb7c329d46e0573a8d58e35d039fdb7826b9e45 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>

  <meta charset="UTF-8">

  <title>CSS Reftest Reference</title>

  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">

  <link rel="stylesheet" href="../support/highlights.css">
  <style>
  div > div
    {
      color: green;
      float: left;
      font-size: 32px;
      margin-left: 16px;
    }

  div.vrl
    {
      writing-mode: vertical-rl;
    }

  div.vlr
    {
      writing-mode: vertical-lr;
    }

  div.mixed
    {
      background-color: yellow;
      text-orientation: mixed;
    }

  div.sideways
    {
      background-color: yellow;
      text-orientation: sideways;
    }

  div.upright
    {
      text-orientation: upright;
    }

  div.upright > span
    {
      background-color: yellow;
    }
  </style>

  <p>Test passes if each glyph of the 6 "Selected Text" is green and if there is <strong>no red</strong>.

  <div class="highlight_reftest">

    <div class="vrl mixed">Selected Text</div>

    <div class="vrl sideways">Selected Text</div>

    <div class="vrl upright"><span>Selected Text</span></div>

    <div class="vlr mixed">Selected Text</div>

    <div class="vlr sideways">Selected Text</div>

    <div class="vlr upright"><span>Selected Text</span></div>

  </div>