Index: LayoutTests/svg/animations/viewspec-checkaspectparams.html |
diff --git a/LayoutTests/svg/animations/viewspec-checkaspectparams.html b/LayoutTests/svg/animations/viewspec-checkaspectparams.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..156a3325d27db6b79c58262c8001dc6349d40eff |
--- /dev/null |
+++ b/LayoutTests/svg/animations/viewspec-checkaspectparams.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<html> |
+<body> |
+<!-- See: https://svgwg.org/svg2-draft/single-page.html#linking-SVGFragmentIdentifiers --> |
+Test for crbug.com/235256: viewSpec's AspectParams.<br/> |
+There should be 3 green boxes below:<br/> |
+<object width="30" height="30" data="resources/viewspec-checkaspectparams.svg#svgView(viewBox(70,0,30,30);preserveAspectRatio(none))"></object> |
+<object width="30" height="30" data="resources/viewspec-checkaspectparams.svg#svgView(viewBox(70,0,15,15);preserveAspectRatio(xMinYMin))"></object> |
+<object width="30" height="30" data="resources/viewspec-checkaspectparams.svg#svgView(viewBox(80,10,20,10);preserveAspectRatio(xMaxYMax))"></object> |
+<br/> |
+There should be 4 blue boxes below:<br/> |
+<object width="30" height="30" data="resources/viewspec-checkaspectparams.svg#svgView(viewBox(0,0,100,30);preserveAspectRatio(qqq))"></object> |
+<object width="30" height="30" data="resources/viewspec-checkaspectparams.svg#svgView(viewBox(0,0,100,30);preserveAspectRatio(1;1;1;1)"></object> |
+<object width="30" height="30" data="resources/viewspec-checkaspectparams.svg#svgView(viewBox(0,0,100,30);preserveAspectRatio(-3)"></object> |
+<object width="30" height="30" data="resources/viewspec-checkaspectparams.svg#svgView(viewBox(0,0,100,30);preserveAspectRatio(xMiny)"></object> |
+</body> |
+</html> |