coords-viewattr-01-b
|
SVG Image
|
PNG Image
|
coords-viewattr-01-b
Validates viewBox specification and the preserveAspectRatio attribute
Example PreserveAspectRatio - demonstrate available options
SVG to fit
Viewport 1
Viewport 2
---------- meet --------------------
xMin*
xMid*
xMax*
---------- meet ------------------------
*YMin
*YMid
*YMax
---------- slice -------------------------
xMin*
xMid*
xMax*
---------- slice ---------------------
*YMin
*YMid
*YMax
$Revision: 1.6 $
|
|
|
This test verifies the implementation of the viewBox and the preserveAspectRatio attribute.
This is a modified version of the sample file included in the SVG specification.
It exercises the various preserveAspectRatio values and uses a general entity definition
in order to make reading of the SVG source easier.
The rendered picture should match the reference image exactly except for variations in the labeling text.