mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
21 lines
436 B
HTML
21 lines
436 B
HTML
<!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: "slice"
|
|
};
|
|
|
|
appendSVGArrayWithParams(svgParams, "img");
|
|
</script>
|
|
<!-- Body gets populated by script -->
|
|
</body>
|
|
</html>
|