summaryrefslogtreecommitdiffstats
path: root/layout/reftests/backgrounds/background-redraw-237766.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /layout/reftests/backgrounds/background-redraw-237766.html
parentInitial commit. (diff)
downloadfirefox-e51783d008170d9ab27d25da98ca3a38b0a41b67.tar.xz
firefox-e51783d008170d9ab27d25da98ca3a38b0a41b67.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/backgrounds/background-redraw-237766.html')
-rw-r--r--layout/reftests/backgrounds/background-redraw-237766.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/layout/reftests/backgrounds/background-redraw-237766.html b/layout/reftests/backgrounds/background-redraw-237766.html
new file mode 100644
index 0000000000..90d4df1b0e
--- /dev/null
+++ b/layout/reftests/backgrounds/background-redraw-237766.html
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html class="reftest-wait">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8">
+
+
+<style type="text/css">
+#test {position: absolute; right: 0; padding-left: 16px; background:
+ url(blue-16x20.png) bottom left no-repeat}
+b {display: none}
+span {padding: 0 7.2px}
+</style>
+
+<script type="text/javascript">
+// see https://bugzilla.mozilla.org/show_bug.cgi?id=237766
+
+window.addEventListener("MozReftestInvalidate", doTest);
+// in order to reproduce this bug on the original build, which
+// doesn't support MozReftestInvalidate
+setTimeout(doTest, 5000);
+
+function doTest() {
+ document.getElementById("test1").style.borderBottomWidth = "1px";
+ document.documentElement.className = "";
+}
+</script>
+
+</head><body>
+<div id="test">
+ <span id="test1">test1</span><b>|</b><span>test2</span>
+</div>
+</body></html>