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/726392-1.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-upstream.tar.xz firefox-esr-upstream.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/text/726392-1.html')
-rw-r--r-- | layout/reftests/text/726392-1.html | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/layout/reftests/text/726392-1.html b/layout/reftests/text/726392-1.html new file mode 100644 index 0000000000..e45288ad9a --- /dev/null +++ b/layout/reftests/text/726392-1.html @@ -0,0 +1,66 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + <head> + <meta charset="utf-8"> + <title>Bug 726392</title> + <style type="text/css"> + p { margin: 0; letter-spacing: 10px} + .alignLeft { text-align: left; } + .alignRight { text-align: right; } + .alignCenter { text-align: center; } + .alignJustify { text-align: justify; } + .alignStart { text-align: start; } + .alignEnd { text-align: end; } + .alignLastAuto { text-align-last: auto; } + .alignLastLeft { text-align-last: left; } + .alignLastRight { text-align-last: right; } + .alignLastCenter { text-align-last: center; } + .alignLastJustify { text-align-last: justify; } + .alignLastStart { text-align-last: start; } + .alignLastEnd { text-align-last: end; } + </style> +</head> + <body> + <div id="e" style="width:50%"> + <p class="alignLeft alignLastAuto">test</p> + <p class="alignLeft alignLastLeft">test</p> + <p class="alignLeft alignLastRight">test</p> + <p class="alignLeft alignLastCenter">test</p> + <p class="alignLeft alignLastJustify">test</p> + <p class="alignLeft alignLastStart">test</p> + <p class="alignLeft alignLastEnd">test</p> + <p class="alignJustify alignLastAuto">test</p> + <p class="alignJustify alignLastLeft">test</p> + <p class="alignJustify alignLastRight">test</p> + <p class="alignJustify alignLastCenter">test</p> + <p class="alignJustify alignLastJustify">test</p> + <p class="alignJustify alignLastStart">test</p> + <p class="alignJustify alignLastEnd">test</p> + <p class="alignStart alignLastAuto">test</p> + <p class="alignStart alignLastLeft">test</p> + <p class="alignStart alignLastRight">test</p> + <p class="alignStart alignLastCenter">test</p> + <p class="alignStart alignLastJustify">test</p> + <p class="alignStart alignLastStart">test</p> + <p class="alignStart alignLastEnd">test</p> + <p class="alignEnd alignLastAuto">test</p> + <p class="alignEnd alignLastLeft">test</p> + <p class="alignEnd alignLastRight">test</p> + <p class="alignEnd alignLastCenter">test</p> + <p class="alignEnd alignLastJustify">test</p> + <p class="alignEnd alignLastStart">test</p> + <p class="alignEnd alignLastEnd">test</p> + +<script type="text/javascript"> +function resizeElements() +{ + var enclosingDiv = document.getElementById("e"); + enclosingDiv.style.width = "100%"; + document.documentElement.removeAttribute("class"); +} + +document.addEventListener("MozReftestInvalidate", resizeElements); +</script> + +</body> +</html> |