summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/as-image/img-novb-widthAndHeight-slice-1-em.html
blob: 7986e3ec2e44ea79e17cc1a6dac4ce7be35d7210 (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:  null,
        height :  "2em", // 20px
        width :   "2em", // 20px
        meetOrSlice: "slice"
      };

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