weisJ/jsvg

<mask>, <clipPath> and elements inside <defs> should inherit properties from ancestor

Opened this issue · 0 comments

These elements should inherit the attributes of their ancestor at declaration site - not the element they are used on. Most real world svgs don’t seem to make use of this. To support it the RenderingContext for these elements has to be computed before their usage, which requires special handling.