summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/as-image/img-novb-width-slice-1.html
blob: abbc21e729720a3ffdceefa93c99bed7845fb435 (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 style="height: 600px"><!-- height for pct vals to resolve against -->
  <script>
      var svgParams = {
        viewBox:  null,
        width  :  "20px",
        height :  "20%",
        meetOrSlice: "slice"
      };

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