summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/meter/default-style/default-style-dyn-ref.html
blob: 03a1937fa5f2036684b950569e7f6a0fb99db7c7 (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
<!DOCTYPE html>
<html>
  <link rel='stylesheet' type='text/css' href='style.css'>
  <style>
    div:nth-child(1) > .meter-sub-optimum { width: 10%; }
    div:nth-child(2) > .meter-sub-sub-optimum { width: 10%; }
    div:nth-child(3) > .meter-sub-optimum { width: 40%; }
    div:nth-child(4) > .meter-optimum { width: 10%; }
    div:nth-child(5) > .meter-optimum { width: 0%; }
    div:nth-child(6) > .meter-sub-optimum { width: 20%; }
  </style>
  <body>
    <div class="meter-element">
      <div class="meter-sub-optimum">
      </div>
    </div>
    <div class="meter-element">
      <div class="meter-sub-sub-optimum">
      </div>
    </div>
    <div class="meter-element">
      <div class="meter-sub-optimum">
      </div>
    </div>
    <div class="meter-element">
      <div class="meter-optimum">
      </div>
    </div>
    <div class="meter-element">
      <div class="meter-optimum">
      </div>
    </div>
    <div class="meter-element">
      <div class="meter-sub-optimum">
      </div>
    </div>
  </body>
</html>