Index: third_party/WebKit/LayoutTests/svg/as-image/synthesized-viewbox-par-width-px-expected.html |
diff --git a/third_party/WebKit/LayoutTests/svg/as-image/synthesized-viewbox-par-width-px-expected.html b/third_party/WebKit/LayoutTests/svg/as-image/synthesized-viewbox-par-width-px-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d214eb75b42be10255d9c8c27469dc8c2c36cfb9 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/as-image/synthesized-viewbox-par-width-px-expected.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<title>Synthesized viewBox/preserveAspectRatio for <img>, intrinsic width (reference)</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", [ "200px" ]], |
+ [ "svgHeightAttr", [ "200px", "100%" ]], |
+ [ "placeholderWidthAttr", [ "100px", "auto" ]], |
+ [ "placeholderHeightAttr", [ "100px", "auto" ]]], |
+ function(config) { |
+ document.body.appendChild(makeReference(config)); |
+ }); |
+</script> |