summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/449362-1.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/bugs/449362-1.html
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.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/bugs/449362-1.html')
-rw-r--r--layout/reftests/bugs/449362-1.html74
1 files changed, 74 insertions, 0 deletions
diff --git a/layout/reftests/bugs/449362-1.html b/layout/reftests/bugs/449362-1.html
new file mode 100644
index 0000000000..a90a1e56f4
--- /dev/null
+++ b/layout/reftests/bugs/449362-1.html
@@ -0,0 +1,74 @@
+<html class="reftest-wait">
+<head>
+ <title>FF3 Test</title>
+
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+
+ <style>
+ td {
+ border: 1px solid;
+ vertical-align: top;
+ }
+ </style>
+ <script type="text/javascript" language="JavaScript">
+ /**
+ * Display the element 'idShow' and hide the element 'idHide'.
+ *
+ * @param idShow the id of the element to show.
+ * @param idHide the id of the element to hide.
+ */
+ toggleElements = function(idShow, idHide)
+ {
+
+ var elementHide = document.getElementById(idHide);
+ var elementShow = document.getElementById(idShow);
+ if (elementHide && elementShow)
+ {
+ elementHide.style.display = 'none';
+ elementShow.style.display = '';
+ }
+
+ }
+ function doTest()
+ {
+ toggleElements('B', 'A');
+ document.documentElement.removeAttribute("class");
+ }
+ window.addEventListener("MozReftestInvalidate", doTest);
+ </script>
+
+</head>
+
+<body>
+
+<table id="pp_owned" align="center" cellpadding="0" cellspacing="0">
+
+<tbody>
+ <tr >
+ <td >Column 1</td>
+ <td >Column 2</td>
+ </tr>
+ <tr>
+
+ <td >
+hello
+ </td>
+ <td >
+ <span id="A">
+ Click me!
+ </span>
+ <span id="B" style="display: none;" >
+ Now I am<br />
+ higher.<br />
+
+ Click me<br />
+ Again!
+ </span>
+ </td>
+ </tr>
+</tbody>
+</table>
+</body>
+</html>
+
+