diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/text-overflow/aligned-baseline-ref.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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> |