summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/alt-display-vertical-001-manual.html
blob: 2e9de77ccb0e24f562c9b3f5bf6bccc3acef8870 (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
<!DOCTYPE html>

  <meta charset="UTF-8">

  <title>CSS Writing Modes Test: alternate text should display in the writing mode of associated element</title>

  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
  <link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#block-flow">

  <meta content="should" name="flags">

  <style>
  .vrl
    {
      float: right;
      writing-mode: vertical-rl;
    }

  .vlr
    {
      float: left;
      writing-mode: vertical-lr;
    }
  </style>

  <h3><img class="vrl" src="support/does-not-exist.png" alt="Test passes if this text is rotated 90°"></h3>

  <h3><img class="vlr" src="support/does-not-exist.png" alt="Test passes if this text is rotated 90°"></h3>

  <h3 class="vrl"><img src="support/does-not-exist.png" alt="Test passes if this text is rotated 90°"></h3>

  <h3 class="vlr"><img src="support/does-not-exist.png" alt="Test passes if this text is rotated 90°"></h3>