summaryrefslogtreecommitdiff
path: root/layout/reftests/svg/as-image/img-height-slice-1-ref.html
blob: 5724f8e0cb112b4ae102adbe510936246dfa92fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!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, 20, 40],
        height :  "20px",
        meetOrSlice: "slice"
      };

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