summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/progress/indeterminate-style-width-ref.html
blob: 7f67f946e0ce3b6e6e86d04b6b63f9558bc91192 (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' href='resource://reftest/progress.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>