...
SVG (Vector)
SVG considerations (script, animation, etc.)
SVG format includes a rich set of features, in particular animation and scripting. Here are important considerations when accepting SVG files in the context of design reproductions.
Self-contained: no external reference
The SVG file must not include any embedded or referenced elements, such as an image file, a script, a stylesheet
Behavior disabled: animations and scripts
The SVG file must not contain any animation, scripts or triggers (i.e. "onload" events)
Page definitions
The SVG file must contain a width and height elements, specified in cm, at the top of the header to ensure a consistent representation on various medium.
Code Block |
---|
<svg
version="1.1"
width="16cm"
height="16cm"
viewBox="0 0 604.72441 604.72437"
<!-- ... -->
</svg> |
Deprecated elements
The SVG file should avoid the use of features that are not commonly supported by browsers.
References and Material
WIPO Standard ST.88: Standard ST.88 (wipo.int)
Task Force on Design Representation (Different Space of this Confluence): Design Representation Task Force Home - Design Representation Task Force - WIPO Wiki
An SVG Primer for Today's Browsers (w3.org)
SVG element reference - SVG: Scalable Vector Graphics | MDN (mozilla.org)