Parse CSS declaration block (aka inline style) to a named list of CSS declarations

read_inline_style(inline_style)

Arguments

inline_style

set of ";"-delmited declarations i.e. an inline style, or a CSS declaration block: e.g. "stroke:red; fill: black; stroke-width:12"

Value

named list of declarations (i.e. property/value pairs) e.g. list(stroke = 'red', fill = 'black', 'stroke-width' = 12)