You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SvgLib operates as a stream processor, rendering elements as they are encountered. This means that a reference element (e.g., defs) and styling must occur in the document prior to any other elements. Otherwise, the reference element or styling will not yet be available.
SvgLib operates as a stream processor, rendering elements as they are encountered. This means that a reference element (e.g.,
defs
) and styling must occur in the document prior to any other elements. Otherwise, the reference element or styling will not yet be available.For example, the following SVG document:
should produce the following output:
but SvgLib renders the following:
Switching the order of elements in the SVG produces the correct output:
The text was updated successfully, but these errors were encountered: