| Index: third_party/WebKit/LayoutTests/svg/as-image/synthesized-viewbox-par-width-percent.html
|
| diff --git a/third_party/WebKit/LayoutTests/svg/as-image/synthesized-viewbox-par-width-percent.html b/third_party/WebKit/LayoutTests/svg/as-image/synthesized-viewbox-par-width-percent.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a96dc95fdd81894d321de4838e4c393dc6fed344
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/svg/as-image/synthesized-viewbox-par-width-percent.html
|
| @@ -0,0 +1,17 @@
|
| +<!DOCTYPE html>
|
| +<title>Synthesized viewBox/preserveAspectRatio for <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>
|
|
|