diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /layout/reftests/frameset | |
parent | Initial commit. (diff) | |
download | firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.tar.xz firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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..10cb028b95 --- /dev/null +++ b/layout/reftests/frameset/reftest.list @@ -0,0 +1,4 @@ +== 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 |