summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/progress/bar-pseudo-element-vertical-ref.html
blob: 972d2ca49bc60c2948eff3419b8a40f93190f727 (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
<!DOCTYPE html>
<html>
  <link rel='stylesheet' type='text/css' href='style.css'>
  <style>
    .progress-element { margin: 10px; }
    body > div:nth-child(1) > .progress-bar { position: relative; top: 4px; left: 4px;
                                              height: -moz-calc(100% - 8px); }
    body > div:nth-child(2) > .progress-bar { }
    body > div:nth-child(3) > .progress-bar { position: relative; top: 4px; left: 4px;
                                              height: -moz-calc(100% - 8px); }
    body > div:nth-child(4) > .progress-bar { position: relative; top: 10px; height: -moz-calc(100% - 10px); }
    body > div:nth-child(5) > .progress-bar { }
    body > div:nth-child(6) > .progress-bar { height: -moz-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: 64px;
                                                 height: -moz-calc(100% - 32px);
                                                 width: -moz-calc(100% + 128px - 1em); }
  </style>
  <body>
    <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>