-
Notifications
You must be signed in to change notification settings - Fork 2
Elements support
This document provides an overview of all SVG elements (as listed at https://developer.mozilla.org/en-US/docs/Web/SVG/Element) and wheter they are supported by this project. Empty sections represent that it is currently unknown whether the element is supported or not.
Please note: According to the specification, a user agent should treat all unknown elements as <g>
. This is not implemented in this project yet.
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
Partial support
See <ellipse>
❌ Not supported
Supported.
Often used in combination with <use>
.
Referecing of elements (in <defs>
) works via their id
.
❌ Not supported
❌ Not supported
Partial support
These defects are related to the bezier-based rendereing approach.
We chose this approach to fix !12.
The build-in stroke methods use square stencils, resulting in incorrect renderings for significant border-width
s.
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
Partial supported
- While scaling/ transforming the morph graphic artifacts occour.
❌ Not supported
Not included in SVG 2 and browsers.
❌ Not supported
Not included in SVG 2 and browsers.
Not supported
Partial support
- when not parallel to x/y axis: line ending is a peak (>) - should be truncated (|)
Partial support
- not drawn properly
- does not differentiate different settings for
gradientUnits
- behaves "weirdly" when canvas is transformed. Changes, but not as expected.
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
Partial support
- mainly depend on what is supported by
<d>
attribute
❌ Not supported
Partial support
- Big
<stroke>
adds additional corners to e.g. haxagons. Might be related to<line>
and<polyline>
issues.
Partial support
- default attributes not yet implemented.
- line ending is a peak (>) - should be truncated (|) (see
<line>
)
Partial support
- When rendering circles or ellipses using our new bezier-based rendering methods, the position of gradients is currently not set correctly
Supported
❌ Not supported
❌ Not supported
❌ Not supported
❌ Not supported
Partial support
- Only top level
<svg>
tags are supported - The first two values of the viewBox specify the location of the SVGMorph when created, the last two values the width and height (which are ignored if width and height are set)
❌ Not supported
❌ Not supported
Supported
❌ Not supported
❌ Not supported
Partial support
-
<tspan>
s without a position specified, will always be placed at the position of the surrounding<text>
element rather than at the correct position in the text flow.
❌ Not supported.
❌ Not supported