diff options
Diffstat (limited to 'layout/reftests/forms/progress/bar-pseudo-element-vertical-ref.html')
-rw-r--r-- | layout/reftests/forms/progress/bar-pseudo-element-vertical-ref.html | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/layout/reftests/forms/progress/bar-pseudo-element-vertical-ref.html b/layout/reftests/forms/progress/bar-pseudo-element-vertical-ref.html new file mode 100644 index 000000000..972d2ca49 --- /dev/null +++ b/layout/reftests/forms/progress/bar-pseudo-element-vertical-ref.html @@ -0,0 +1,90 @@ +<!DOCTYPE html> +<html> + <link rel='stylesheet' type='text/css' href='style.css'> + <style> + .progress-element { margin: 10px; } + body > div:nth-child(1) > .progress-bar { position: relative; top: 4px; left: 4px; + height: -moz-calc(100% - 8px); } + body > div:nth-child(2) > .progress-bar { } + body > div:nth-child(3) > .progress-bar { position: relative; top: 4px; left: 4px; + height: -moz-calc(100% - 8px); } + body > div:nth-child(4) > .progress-bar { position: relative; top: 10px; height: -moz-calc(100% - 10px); } + body > div:nth-child(5) > .progress-bar { } + body > div:nth-child(6) > .progress-bar { height: -moz-calc(100% - 10px); } + body > div:nth-child(7) > .progress-bar { position: relative; left: 10px; } + body > div:nth-child(8) > .progress-bar { } + body > div:nth-child(9) > .progress-bar { } + body > div:nth-child(10) > .progress-bar { } + body > div:nth-child(11) > .progress-bar { } + /* 12 - 15 should have 100% width, no need to specify. */ + body > div:nth-of-type(16) > .progress-bar { position: relative; top: 64px; left: 64px; + height: -moz-calc(100% - 32px); + width: -moz-calc(100% + 128px - 1em); } + </style> + <body> + <div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + <br><div class="progress-element vertical"> + <div class="progress-bar"> + </div> + </div> + </body> +</html> |