Wed, 31 Dec 2014 06:09:35 +0100
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 | <style> |
michael@0 | 4 | div.progress-element { |
michael@0 | 5 | /** |
michael@0 | 6 | * The purpose of this test is to not show the native style. |
michael@0 | 7 | * -moz-appearance: progressbar; |
michael@0 | 8 | */ |
michael@0 | 9 | display: inline-block; |
michael@0 | 10 | height: 1em; |
michael@0 | 11 | width: 10em; |
michael@0 | 12 | vertical-align: -0.2em; |
michael@0 | 13 | |
michael@0 | 14 | /* Default style in case of there is -moz-appearance: none; */ |
michael@0 | 15 | border: 2px solid; |
michael@0 | 16 | -moz-border-top-colors: ThreeDShadow #e6e6e6; |
michael@0 | 17 | -moz-border-right-colors: ThreeDHighlight #e6e6e6; |
michael@0 | 18 | -moz-border-bottom-colors: ThreeDHighlight #e6e6e6; |
michael@0 | 19 | -moz-border-left-colors: ThreeDShadow #e6e6e6; |
michael@0 | 20 | background-color: #e6e6e6; |
michael@0 | 21 | } |
michael@0 | 22 | |
michael@0 | 23 | div.progress-bar { |
michael@0 | 24 | /** |
michael@0 | 25 | * The purpose of this test is to not show the native style. |
michael@0 | 26 | * -moz-appearance: progresschunk; |
michael@0 | 27 | */ |
michael@0 | 28 | |
michael@0 | 29 | height: 100%; |
michael@0 | 30 | width: 100%; |
michael@0 | 31 | |
michael@0 | 32 | box-sizing: border-box; |
michael@0 | 33 | |
michael@0 | 34 | /* Default style in case of there is -moz-appearance: none; */ |
michael@0 | 35 | background-color: #0064b4; |
michael@0 | 36 | } |
michael@0 | 37 | |
michael@0 | 38 | div.progress-element { padding: 5px; } |
michael@0 | 39 | body > div:nth-child(1) { -moz-appearance: none; } |
michael@0 | 40 | body > div:nth-child(2) > .progress-bar { -moz-appearance: none; } |
michael@0 | 41 | body > div:nth-child(3) { background-color: red; } |
michael@0 | 42 | body > div:nth-child(4) > .progress-bar { background-color: red; } |
michael@0 | 43 | body > div:nth-child(5) { border: 2px solid red; } |
michael@0 | 44 | body > div:nth-child(6) > .progress-bar { border: 5px solid red; } |
michael@0 | 45 | </style> |
michael@0 | 46 | <body> |
michael@0 | 47 | <div class="progress-element"> |
michael@0 | 48 | <div class="progress-bar"></div> |
michael@0 | 49 | </div> |
michael@0 | 50 | <div class="progress-element"> |
michael@0 | 51 | <div class="progress-bar"></div> |
michael@0 | 52 | </div> |
michael@0 | 53 | <div class="progress-element"> |
michael@0 | 54 | <div class="progress-bar"></div> |
michael@0 | 55 | </div> |
michael@0 | 56 | <div class="progress-element"> |
michael@0 | 57 | <div class="progress-bar"></div> |
michael@0 | 58 | </div> |
michael@0 | 59 | <div class="progress-element"> |
michael@0 | 60 | <div class="progress-bar"></div> |
michael@0 | 61 | </div> |
michael@0 | 62 | <div class="progress-element"> |
michael@0 | 63 | <div class="progress-bar"></div> |
michael@0 | 64 | </div> |
michael@0 | 65 | </body> |
michael@0 | 66 | </html> |