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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html>
michael@0 3 <link rel='stylesheet' type='text/css' href='style.css'>
michael@0 4 <style>
michael@0 5 div.progress-element {
michael@0 6 height: 12em;
michael@0 7 width: 2em;
michael@0 8 }
michael@0 9 div.progress-bar {
michael@0 10 height: 100%;
michael@0 11 }
michael@0 12 body > div:nth-child(1) > .progress-bar { position: relative;
michael@0 13 top: -moz-calc(12em - 20px); height: 20px; }
michael@0 14 body > div:nth-child(2) > .progress-bar { position: relative;
michael@0 15 top: -moz-calc(12em - 0px); height: 0px; }
michael@0 16 body > div:nth-child(3) > .progress-bar { position: relative;
michael@0 17 top: -moz-calc(12em - 50%); height: 50%; }
michael@0 18 body > div:nth-child(4) > .progress-bar { position: relative;
michael@0 19 top: -moz-calc(12em - 1em); height: 1em; }
michael@0 20 body > div:nth-child(5) > .progress-bar { position: relative;
michael@0 21 top: -moz-calc(12em - 100%); height: 100%; }
michael@0 22 </style>
michael@0 23 <body>
michael@0 24 <div class="progress-element">
michael@0 25 <div class="progress-bar">
michael@0 26 </div>
michael@0 27 </div>
michael@0 28 <div class="progress-element">
michael@0 29 <div class="progress-bar">
michael@0 30 </div>
michael@0 31 </div>
michael@0 32 <div class="progress-element">
michael@0 33 <div class="progress-bar">
michael@0 34 </div>
michael@0 35 </div>
michael@0 36 <div class="progress-element">
michael@0 37 <div class="progress-bar">
michael@0 38 </div>
michael@0 39 </div>
michael@0 40 <div class="progress-element">
michael@0 41 <div class="progress-bar">
michael@0 42 </div>
michael@0 43 </div>
michael@0 44 </body>
michael@0 45 </html>
michael@0 46

mercurial