summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/progress/bar-pseudo-element-vertical-rtl-ref.html
blob: d69b8b1e5766ca8bb278df931b4ebf8206efc9a0 (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html>
  <link rel='stylesheet' href='resource://reftest/progress.css'>
  <style>
    .progress-element { margin: 10px; }
    body > div:nth-child(1) > .progress-bar { position: relative; top: 4px; left: 4px;
                                              height: calc(100% - 8px); }
    body > div:nth-child(2) > .progress-bar { }
    body > div:nth-child(3) > .progress-bar { position: relative; top: 4px; left: 4px;
                                              height: calc(100% - 8px); }
    body > div:nth-child(4) > .progress-bar { position: relative; top: 10px; height: calc(100% - 10px); }
    body > div:nth-child(5) > .progress-bar { }
    body > div:nth-child(6) > .progress-bar { height: calc(100% - 10px); }
    body > div:nth-child(7) > .progress-bar { position: relative; left: 10px; }
    body > div:nth-child(8) > .progress-bar { }
    body > div:nth-child(9) > .progress-bar { }
    body > div:nth-child(10) > .progress-bar {  }
    body > div:nth-child(11) > .progress-bar { }
    /* 12 - 15 should have 100% width, no need to specify. */
    body > div:nth-of-type(16) > .progress-bar { position: relative; top: 64px;
                                                 left: calc(100% + 128px + 32px );
                                                 height: calc(100% - 32px);
                                                 width: calc(100% + 128px - 1em); }
  </style>
  <body dir='rtl'>
    <div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
    <br><div class="progress-element vertical">
      <div class="progress-bar">
      </div>
    </div>
  </body>
</html>