1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/widget/reftests/progressbar-fallback-default-style-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,66 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 + <style> 1.7 + div.progress-element { 1.8 + /** 1.9 + * The purpose of this test is to not show the native style. 1.10 + * -moz-appearance: progressbar; 1.11 + */ 1.12 + display: inline-block; 1.13 + height: 1em; 1.14 + width: 10em; 1.15 + vertical-align: -0.2em; 1.16 + 1.17 + /* Default style in case of there is -moz-appearance: none; */ 1.18 + border: 2px solid; 1.19 + -moz-border-top-colors: ThreeDShadow #e6e6e6; 1.20 + -moz-border-right-colors: ThreeDHighlight #e6e6e6; 1.21 + -moz-border-bottom-colors: ThreeDHighlight #e6e6e6; 1.22 + -moz-border-left-colors: ThreeDShadow #e6e6e6; 1.23 + background-color: #e6e6e6; 1.24 + } 1.25 + 1.26 + div.progress-bar { 1.27 + /** 1.28 + * The purpose of this test is to not show the native style. 1.29 + * -moz-appearance: progresschunk; 1.30 + */ 1.31 + 1.32 + height: 100%; 1.33 + width: 100%; 1.34 + 1.35 + box-sizing: border-box; 1.36 + 1.37 + /* Default style in case of there is -moz-appearance: none; */ 1.38 + background-color: #0064b4; 1.39 + } 1.40 + 1.41 + div.progress-element { padding: 5px; } 1.42 + body > div:nth-child(1) { -moz-appearance: none; } 1.43 + body > div:nth-child(2) > .progress-bar { -moz-appearance: none; } 1.44 + body > div:nth-child(3) { background-color: red; } 1.45 + body > div:nth-child(4) > .progress-bar { background-color: red; } 1.46 + body > div:nth-child(5) { border: 2px solid red; } 1.47 + body > div:nth-child(6) > .progress-bar { border: 5px solid red; } 1.48 + </style> 1.49 + <body> 1.50 + <div class="progress-element"> 1.51 + <div class="progress-bar"></div> 1.52 + </div> 1.53 + <div class="progress-element"> 1.54 + <div class="progress-bar"></div> 1.55 + </div> 1.56 + <div class="progress-element"> 1.57 + <div class="progress-bar"></div> 1.58 + </div> 1.59 + <div class="progress-element"> 1.60 + <div class="progress-bar"></div> 1.61 + </div> 1.62 + <div class="progress-element"> 1.63 + <div class="progress-bar"></div> 1.64 + </div> 1.65 + <div class="progress-element"> 1.66 + <div class="progress-bar"></div> 1.67 + </div> 1.68 + </body> 1.69 +</html>