summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/progress/indeterminate-style-width-ref.html
blob: 8a135b2ea4cb199f292f3b6e75512e7937e2199f (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
<!DOCTYPE html>
<html>
  <link rel='stylesheet' type='text/css' href='style.css'>
  <style>
    div.progress-bar {
      width:100%;
    }
    body > div:nth-child(1) > .progress-bar { width: 20px; }
    body > div:nth-child(2) > .progress-bar { width: 0px; }
    body > div:nth-child(3) > .progress-bar { width: 50%; }
    body > div:nth-child(4) > .progress-bar { width: 1em; }
    body > div:nth-child(5) > .progress-bar { width: 100%; }
  </style>
  <body>
    <div class="progress-element">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element">
      <div class="progress-bar">
      </div>
    </div>
    <div class="progress-element">
      <div class="progress-bar">
      </div>
    </div>
  </body>
</html>