mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
599a8ec0a9
--HG-- rename : layout/reftests/svg/as-image/img-height-meet-1-ref.html => layout/reftests/svg/as-image/img-novb-height-all-1-ref.html rename : layout/reftests/svg/as-image/img-height-meet-1.html => layout/reftests/svg/as-image/img-novb-height-meet-1.html rename : layout/reftests/svg/as-image/img-height-slice-1.html => layout/reftests/svg/as-image/img-novb-height-slice-1.html rename : layout/reftests/svg/as-image/img-width-meet-1-ref.html => layout/reftests/svg/as-image/img-novb-width-all-1-ref.html rename : layout/reftests/svg/as-image/img-width-meet-1.html => layout/reftests/svg/as-image/img-novb-width-meet-1.html rename : layout/reftests/svg/as-image/img-width-slice-1.html => layout/reftests/svg/as-image/img-novb-width-slice-1.html rename : layout/reftests/svg/as-image/img-widthAndHeight-slice-1-ref.html => layout/reftests/svg/as-image/img-novb-widthAndHeight-all-1-ref.html rename : layout/reftests/svg/as-image/img-widthAndHeight-meet-1.html => layout/reftests/svg/as-image/img-novb-widthAndHeight-meet-1-em.html rename : layout/reftests/svg/as-image/img-widthAndHeight-meet-1.html => layout/reftests/svg/as-image/img-novb-widthAndHeight-meet-1-px.html rename : layout/reftests/svg/as-image/img-widthAndHeight-slice-1.html => layout/reftests/svg/as-image/img-novb-widthAndHeight-slice-1-em.html rename : layout/reftests/svg/as-image/img-widthAndHeight-slice-1.html => layout/reftests/svg/as-image/img-novb-widthAndHeight-slice-1-px.html
21 lines
494 B
HTML
21 lines
494 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 style="width: 600px"><!-- width for pct vals to resolve against -->
|
|
<script>
|
|
var svgParams = {
|
|
viewBox: null,
|
|
width : "10%",
|
|
height : "30px",
|
|
meetOrSlice: "slice"
|
|
};
|
|
|
|
appendSVGArrayWithParams(svgParams, "img");
|
|
</script>
|
|
<!-- Body gets populated by script -->
|
|
</body>
|
|
</html>
|