diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /layout/reftests/forms/progress/indeterminate-style-height-ref.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/forms/progress/indeterminate-style-height-ref.html')
-rw-r--r-- | layout/reftests/forms/progress/indeterminate-style-height-ref.html | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/layout/reftests/forms/progress/indeterminate-style-height-ref.html b/layout/reftests/forms/progress/indeterminate-style-height-ref.html new file mode 100644 index 0000000000..2a9eafa315 --- /dev/null +++ b/layout/reftests/forms/progress/indeterminate-style-height-ref.html @@ -0,0 +1,46 @@ +<!DOCTYPE html> +<html> + <link rel='stylesheet' href='resource://reftest/progress.css'> + <style> + div.progress-element { + height: 12em; + width: 2em; + } + div.progress-bar { + height: 100%; + } + body > div:nth-child(1) > .progress-bar { position: relative; + top: calc(12em - 20px); height: 20px; } + body > div:nth-child(2) > .progress-bar { position: relative; + top: calc(12em - 0px); height: 0px; } + body > div:nth-child(3) > .progress-bar { position: relative; + top: calc(12em - 50%); height: 50%; } + body > div:nth-child(4) > .progress-bar { position: relative; + top: calc(12em - 1em); height: 1em; } + body > div:nth-child(5) > .progress-bar { position: relative; + top: calc(12em - 100%); height: 100%; } + </style> + <body> + <div class="progress-element"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element"> + <div class="progress-bar"> + </div> + </div> + <div class="progress-element"> + <div class="progress-bar"> + </div> + </div> + </body> +</html> + |