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/text-overflow/aligned-baseline-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/text-overflow/aligned-baseline-ref.html')
-rw-r--r-- | layout/reftests/text-overflow/aligned-baseline-ref.html | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/layout/reftests/text-overflow/aligned-baseline-ref.html b/layout/reftests/text-overflow/aligned-baseline-ref.html new file mode 100644 index 0000000000..458731f88d --- /dev/null +++ b/layout/reftests/text-overflow/aligned-baseline-ref.html @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html> + <head> + <title>Testcase for bug 668919</title> + +<style> +.tab-title { + overflow:hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 5em; + height:25px; +} + +.c1 { font-size: 14px; } +.c2 { font-size: 15px; } +.c3 { font-size: 16px; } +.c4 { font-size: 17px; } +.c5 { font-size: 18px; } +.c6 { font-size: 19px; } +.c7 { font-size: 20px; } +.c8 { font-size: 24px; } +.c9 { font-size: 28px; } +.c10 { font-size: 32px; } +.c11 { font-size: 36px; } + +.p0 { padding-top:0; } +.p1 { padding-top:0px; } +.p2 { padding-top:0px; } + +.col2 .tab-title { text-shadow: 1px 1px 1px blue; } +</style> + </head> +<body> + +<div style="position:absolute; top: 0px;"> +<div class="tab-title c1 p0">CSS is awesome</div> +<div class="tab-title c1 p2">CSS is awesome</div> +<div class="tab-title c1 p3">CSS is awesome</div> +</div> + +<div style="position:absolute; top: 100px;"> +<div class="tab-title c2 p0">CSS is awesome</div> +<div class="tab-title c2 p2">CSS is awesome</div> +<div class="tab-title c2 p3">CSS is awesome</div> +</div> + +<div style="position:absolute; top: 200px;"> +<div class="tab-title c3 p0">CSS is awesome</div> +<div class="tab-title c3 p2">CSS is awesome</div> +<div class="tab-title c3 p3">CSS is awesome</div> +</div> + +<div style="position:absolute; top: 300px;"> +<div class="tab-title c4 p0">CSS is awesome</div> +<div class="tab-title c4 p2">CSS is awesome</div> +<div class="tab-title c4 p3">CSS is awesome</div> +</div> + +<div style="position:absolute; top: 400px;"> +<div class="tab-title c5 p0">CSS is awesome</div> +<div class="tab-title c5 p2">CSS is awesome</div> +<div class="tab-title c5 p3">CSS is awesome</div> +</div> + +<div class="col2" style="position:absolute; top: 0px; left:8em;"> +<div style="position:absolute; top: 0px;"> +<div class="tab-title c1 p0">CSS is awesome</div> +<div class="tab-title c1 p2">CSS is awesome</div> +<div class="tab-title c1 p3">CSS is awesome</div> +</div> + +<div style="position:absolute; top: 100px;"> +<div class="tab-title c2 p0">CSS is awesome</div> +<div class="tab-title c2 p2">CSS is awesome</div> +<div class="tab-title c2 p3">CSS is awesome</div> +</div> + +<div style="position:absolute; top: 200px;"> +<div class="tab-title c3 p0">CSS is awesome</div> +<div class="tab-title c3 p2">CSS is awesome</div> +<div class="tab-title c3 p3">CSS is awesome</div> +</div> + +<div style="position:absolute; top: 300px;"> +<div class="tab-title c4 p0">CSS is awesome</div> +<div class="tab-title c4 p2">CSS is awesome</div> +<div class="tab-title c4 p3">CSS is awesome</div> +</div> + +<div style="position:absolute; top: 400px;"> +<div class="tab-title c5 p0">CSS is awesome</div> +<div class="tab-title c5 p2">CSS is awesome</div> +<div class="tab-title c5 p3">CSS is awesome</div> +</div> +</div> + + +</body> +</html> |