summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/as-image/img-widthAndHeight-meet-2-ref.html
blob: 93dfa47b6e9d0c530676910af7b345c219e79657 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!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 = {
        viewBox:  [0, 0, 40, 20],
        height :  "2em",
        width :   "2em",
        meetOrSlice: "meet"
      };

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