layout/reftests/forms/progress/indeterminate-style-height-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/forms/progress/indeterminate-style-height-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,46 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <link rel='stylesheet' type='text/css' href='style.css'>
     1.7 +  <style>
     1.8 +    div.progress-element {
     1.9 +      height: 12em;
    1.10 +      width: 2em;
    1.11 +    }
    1.12 +    div.progress-bar {
    1.13 +      height: 100%;
    1.14 +    }
    1.15 +    body > div:nth-child(1) > .progress-bar { position: relative;
    1.16 +                                              top: -moz-calc(12em - 20px); height: 20px; }
    1.17 +    body > div:nth-child(2) > .progress-bar { position: relative;
    1.18 +                                              top: -moz-calc(12em - 0px); height: 0px; }
    1.19 +    body > div:nth-child(3) > .progress-bar { position: relative;
    1.20 +                                              top: -moz-calc(12em - 50%); height: 50%; }
    1.21 +    body > div:nth-child(4) > .progress-bar { position: relative;
    1.22 +                                              top: -moz-calc(12em - 1em); height: 1em; }
    1.23 +    body > div:nth-child(5) > .progress-bar { position: relative;
    1.24 +                                              top: -moz-calc(12em - 100%); height: 100%; }
    1.25 +  </style>
    1.26 +  <body>
    1.27 +    <div class="progress-element">
    1.28 +      <div class="progress-bar">
    1.29 +      </div>
    1.30 +    </div>
    1.31 +    <div class="progress-element">
    1.32 +      <div class="progress-bar">
    1.33 +      </div>
    1.34 +    </div>
    1.35 +    <div class="progress-element">
    1.36 +      <div class="progress-bar">
    1.37 +      </div>
    1.38 +    </div>
    1.39 +    <div class="progress-element">
    1.40 +      <div class="progress-bar">
    1.41 +      </div>
    1.42 +    </div>
    1.43 +    <div class="progress-element">
    1.44 +      <div class="progress-bar">
    1.45 +      </div>
    1.46 +    </div>
    1.47 +  </body>
    1.48 +</html>
    1.49 +

mercurial