diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/bugs/1780191-1.svg | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/bugs/1780191-1.svg')
-rw-r--r-- | layout/reftests/bugs/1780191-1.svg | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1780191-1.svg b/layout/reftests/bugs/1780191-1.svg new file mode 100644 index 0000000000..6413b72611 --- /dev/null +++ b/layout/reftests/bugs/1780191-1.svg @@ -0,0 +1,33 @@ +<?xml version="1.0" standalone="no"?> +<svg width="315px" height="445px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> + <svg viewBox="0 0 21000 29700" id="thetarget"> +<script> +// <![CDATA[ +function insertRect(x,y,w,h) { + const rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + rect.setAttribute("x", x.toString()); + rect.setAttribute("y", y.toString()); + rect.setAttribute("height", h.toString()); + rect.setAttribute("width", w.toString()); + document.getElementById("thetarget").appendChild(rect); +} +function place() { + let baseleft = 2000; + let basetop = 2000; + let width = 18; + let height = 539; + let coldiff = 66; + let rowdiff = 600; + for (let row = 0; row <= 60; row++) { + for (let col = 0; col <= 360; col++) { + insertRect(baseleft + col*coldiff + row, basetop + rowdiff*row, width, height); + } + } +} +place(); +// ]]> +</script> + + + </svg> +</svg> |