summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/637597-1.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/bugs/637597-1.html
parentInitial commit. (diff)
downloadthunderbird-upstream.tar.xz
thunderbird-upstream.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/bugs/637597-1.html')
-rw-r--r--layout/reftests/bugs/637597-1.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/layout/reftests/bugs/637597-1.html b/layout/reftests/bugs/637597-1.html
new file mode 100644
index 0000000000..fe75fb5af3
--- /dev/null
+++ b/layout/reftests/bugs/637597-1.html
@@ -0,0 +1,49 @@
+<!DOCTYPE HTML>
+<html class="reftest-wait">
+<head>
+<style>
+html { background:white; }
+#parent {
+ position: absolute;
+ top: 100.8px;
+ -moz-transform: scale(1.1232,1.1232);
+ transform: scale(1.1232,1.1232);
+}
+#b1 {
+ position: absolute;
+ width: 100px;
+ height: 109px;
+ background: #c00;
+ -moz-transform: translate(100px,100px);
+ transform: translate(100px,100px);
+}
+#b2 {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100px;
+ height: 100px;
+ background: white;
+ -moz-transform: translate(400px,200px);
+ transform: translate(400px,200px);
+}
+#b2.done {
+ -moz-transform: translate(400px,0);
+ transform: translate(400px,0);
+}
+</style>
+</head>
+<body>
+<div id="parent">
+ <div id="b1"></div>
+ <div id="b2"></div>
+</div>
+<script>
+function doTest() {
+ document.getElementById('b2').setAttribute("class", "done");
+ document.documentElement.removeAttribute("class");
+}
+window.addEventListener("MozReftestInvalidate", doTest);
+</script>
+</body>
+</html>