summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/as-image/img-fragment-1a.html
blob: 31ac73d18b221b50c336501d82698f0ee5168a56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE HTML>
<html>
<head>
  <link rel="stylesheet" type="text/css" href="svg-image-util.css" />
  <script src="svg-image-util.js"></script>
</head>
<body>
  <script>
      var svgParams = {
        view: {
          viewBox: [0, 0, 20, 20],
          meetOrSlice: "meet"
        },
        fragmentIdentifier: "view"
      };

      appendSVGArrayWithParams(svgParams, "img");
  </script>
  <!-- Body gets populated by script -->
</body>
</html>