diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:44:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:44:51 +0000 |
commit | 9e3c08db40b8916968b9f30096c7be3f00ce9647 (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/frameset | |
parent | Initial commit. (diff) | |
download | thunderbird-9e3c08db40b8916968b9f30096c7be3f00ce9647.tar.xz thunderbird-9e3c08db40b8916968b9f30096c7be3f00ce9647.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/frameset')
-rw-r--r-- | layout/reftests/frameset/frameset-add-col-ref.html | 10 | ||||
-rw-r--r-- | layout/reftests/frameset/frameset-add-col.html | 22 | ||||
-rw-r--r-- | layout/reftests/frameset/frameset-add-row-ref.html | 10 | ||||
-rw-r--r-- | layout/reftests/frameset/frameset-add-row.html | 22 | ||||
-rw-r--r-- | layout/reftests/frameset/frameset-remove-col-ref.html | 10 | ||||
-rw-r--r-- | layout/reftests/frameset/frameset-remove-col.html | 20 | ||||
-rw-r--r-- | layout/reftests/frameset/frameset-remove-row-ref.html | 10 | ||||
-rw-r--r-- | layout/reftests/frameset/frameset-remove-row.html | 20 | ||||
-rw-r--r-- | layout/reftests/frameset/reftest.list | 4 |
9 files changed, 128 insertions, 0 deletions
diff --git a/layout/reftests/frameset/frameset-add-col-ref.html b/layout/reftests/frameset/frameset-add-col-ref.html new file mode 100644 index 0000000000..6cd1b4bf9e --- /dev/null +++ b/layout/reftests/frameset/frameset-add-col-ref.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + </head> + <frameset id="frameset" cols="*,*"> + <frame /> + <frame /> + </frameset> +</html> diff --git a/layout/reftests/frameset/frameset-add-col.html b/layout/reftests/frameset/frameset-add-col.html new file mode 100644 index 0000000000..8fe32e1de7 --- /dev/null +++ b/layout/reftests/frameset/frameset-add-col.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + <head> + <meta charset=utf-8> + <script type="text/javascript"> + window.addEventListener("MozReftestInvalidate", () => { + let frameset = document.getElementById("frameset"); + let newFrame = document.createElement("frame"); + frameset.appendChild(newFrame); + frameset.cols = "*"; + + newFrame = document.createElement("frame"); + frameset.appendChild(newFrame); + frameset.cols = frameset.cols + ",*"; + + document.documentElement.removeAttribute("class"); + }); + </script> + </head> + <frameset id="frameset" cols=""> + </frameset> +</html> diff --git a/layout/reftests/frameset/frameset-add-row-ref.html b/layout/reftests/frameset/frameset-add-row-ref.html new file mode 100644 index 0000000000..4da1204655 --- /dev/null +++ b/layout/reftests/frameset/frameset-add-row-ref.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + </head> + <frameset id="frameset" rows="*,*"> + <frame /> + <frame /> + </frameset> +</html> diff --git a/layout/reftests/frameset/frameset-add-row.html b/layout/reftests/frameset/frameset-add-row.html new file mode 100644 index 0000000000..31fbfeed55 --- /dev/null +++ b/layout/reftests/frameset/frameset-add-row.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + <head> + <meta charset=utf-8> + <script type="text/javascript"> + window.addEventListener("MozReftestInvalidate", () => { + let frameset = document.getElementById("frameset"); + let newFrame = document.createElement("frame"); + frameset.appendChild(newFrame); + frameset.rows = "*"; + + newFrame = document.createElement("frame"); + frameset.appendChild(newFrame); + frameset.rows = frameset.rows + ",*"; + + document.documentElement.removeAttribute("class"); + }); + </script> + </head> + <frameset id="frameset" rows=""> + </frameset> +</html> diff --git a/layout/reftests/frameset/frameset-remove-col-ref.html b/layout/reftests/frameset/frameset-remove-col-ref.html new file mode 100644 index 0000000000..6cd1b4bf9e --- /dev/null +++ b/layout/reftests/frameset/frameset-remove-col-ref.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + </head> + <frameset id="frameset" cols="*,*"> + <frame /> + <frame /> + </frameset> +</html> diff --git a/layout/reftests/frameset/frameset-remove-col.html b/layout/reftests/frameset/frameset-remove-col.html new file mode 100644 index 0000000000..1e266d2915 --- /dev/null +++ b/layout/reftests/frameset/frameset-remove-col.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + <head> + <meta charset=utf-8> + <script type="text/javascript"> + window.addEventListener("MozReftestInvalidate", () => { + let frameset = document.getElementById("frameset"); + frameset.removeChild(frameset.lastChild); + frameset.cols = frameset.cols.replace(/,[^,]*$/, ""); + + document.documentElement.removeAttribute("class"); + }); + </script> + </head> + <frameset id="frameset" cols="*,*,*"> + <frame /> + <frame /> + <frame /> + </frameset> +</html> diff --git a/layout/reftests/frameset/frameset-remove-row-ref.html b/layout/reftests/frameset/frameset-remove-row-ref.html new file mode 100644 index 0000000000..4da1204655 --- /dev/null +++ b/layout/reftests/frameset/frameset-remove-row-ref.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + </head> + <frameset id="frameset" rows="*,*"> + <frame /> + <frame /> + </frameset> +</html> diff --git a/layout/reftests/frameset/frameset-remove-row.html b/layout/reftests/frameset/frameset-remove-row.html new file mode 100644 index 0000000000..7f55ac9493 --- /dev/null +++ b/layout/reftests/frameset/frameset-remove-row.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + <head> + <meta charset=utf-8> + <script type="text/javascript"> + window.addEventListener("MozReftestInvalidate", () => { + let frameset = document.getElementById("frameset"); + frameset.removeChild(frameset.lastChild); + frameset.rows = frameset.rows.replace(/,[^,]*$/, ""); + + document.documentElement.removeAttribute("class"); + }); + </script> + </head> + <frameset id="frameset" rows="*,*,*"> + <frame /> + <frame /> + <frame /> + </frameset> +</html> diff --git a/layout/reftests/frameset/reftest.list b/layout/reftests/frameset/reftest.list new file mode 100644 index 0000000000..0d5ff10b16 --- /dev/null +++ b/layout/reftests/frameset/reftest.list @@ -0,0 +1,4 @@ +skip-if(ThreadSanitizer) == frameset-add-row.html frameset-add-row-ref.html +== frameset-remove-row.html frameset-remove-row-ref.html +== frameset-add-col.html frameset-add-col-ref.html +== frameset-remove-col.html frameset-remove-col-ref.html |