summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/reference/text-shadow-orientation-upright-001-ref.html
blob: 54c1f74259e1fb689d2ffd3dbbd43478c62638c5 (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
<!DOCTYPE html>

  <meta charset="UTF-8">

  <title>CSS Reference Test</title>

  <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">

  <style>
  div
    {
      color: transparent;
      font-family: Ahem;
      font-size: 100px;
      line-height: 1;
    }

  div#purple
    {
      text-shadow: 1em 0em purple;
    }

  div#orange-blue
    {
      color: yellow;
      margin-left: 1em;
      text-shadow: -1em 0em orange, 1em 0em blue;
    }

  div#fuchsia
    {
     text-shadow: 1em 0em fuchsia;
    }
  </style>

  <div id="purple">U</div>

  <div id="orange-blue">B</div>

  <div id="fuchsia">F</div>

  <!--

                  .........
                  .       .
                  .       . <-purple
                  .       .
           .......................
           .      .       .      .
  orange-> .      .  yel  .      . <-blue
           .      .  low  .      .
           .......................
                  .       .
                  .       . <-fuchsia
                  .       .
                  .........

  -->