Stylesheet typedef SVG DOM

Stylesheet = Map<String, List<Style>>

A stylesheet is a map from a tagName or a node ID to a list of Style instances. A tagName is like "tspan" or "", and an ID starts with "#". The Style instances will be in the order they were encountered in the SVG source file.

Implementation

typedef Stylesheet = Map<String, List<Style>>;