summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1780191-1-ref.svg
blob: 3a010b42b7e7edfde452b12cc82ea4ffe39d4598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?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">
<style>
      rect {
            fill: rgb(187,187,187);
      }
</style>
<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 = 60;
      let height = 539;
      let coldiff = 120;
      let rowdiff = 600;
      for (let row = 0; row <= 60; row++) {
            insertRect(baseleft, basetop + rowdiff*row, 34200, height);
      }
}

place();
// ]]>
</script>

   </svg>
</svg>