blob: b2f5fd9a1b99b3b7eaa7124f5ff2417368b745c8 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<!-- See: https://svgwg.org/svg2-draft/single-page.html#linking-SVGFragmentIdentifiers -->
Test for crbug.com/249578: viewSpec's AspectParams.<br/>
There should be 3 green boxes below:<br/>
<object width="30" height="30" data="resources/viewspec-aspectparams.svg#svgView(viewBox(70,0,30,30);preserveAspectRatio(none))"></object>
<object width="30" height="30" data="resources/viewspec-aspectparams.svg#svgView(viewBox(70,0,15,15);preserveAspectRatio(xMinYMin))"></object>
<object width="30" height="30" data="resources/viewspec-aspectparams.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-aspectparams.svg#svgView(viewBox(0,0,100,30);preserveAspectRatio(qqq))"></object>
<object width="30" height="30" data="resources/viewspec-aspectparams.svg#svgView(viewBox(0,0,100,30);preserveAspectRatio(1;1;1;1)"></object>
<object width="30" height="30" data="resources/viewspec-aspectparams.svg#svgView(viewBox(0,0,100,30);preserveAspectRatio(-3)"></object>
<object width="30" height="30" data="resources/viewspec-aspectparams.svg#svgView(viewBox(0,0,100,30);preserveAspectRatio(xMiny)"></object>
</body>
</html>