chromium/third_party/blink/web_tests/svg/as-image/synthesized-viewbox-par-width-percent.html

<!DOCTYPE html>
<title>Synthesized viewBox/preserveAspectRatio for &lt;img>, no intrinsic width</title>
<div id="testContainer"></div>
<script src="../as-object/sizing/svg-in-object.js"></script>
<script src="resources/synthesized-viewbox-par-helper.js"></script>
<script>
'use strict';

doCombinationTest(
  [[ "svgWidthAttr", [ "100%" ]],
   [ "svgHeightAttr", [ "200px", "100%" ]],
   [ "placeholderWidthAttr", [ "100px", "auto" ]],
   [ "placeholderHeightAttr", [ "100px", "auto" ]]],
  function(config) {
    document.body.appendChild(makeImage(config));
  });
</script>