Clipping and masking are improperly inherited from stylesheet
When an element has clipping specified in a stylesheet, Inkscape always forces the clip-path to be the value contained in the stylesheet, even if a clip-path is specified in the local style. Example below:
- Its attributes specify the clip-path as #clip3, the font-family as Arial, and the fill as red.
- Element text13794 is in the class c10, which specifies the clip-path as #clip2, font-family as Avenir, and fill as blue.
- Its local style tag specifies its clip-path as #clip1, font-family as Tahoma, and fill as green.
Result: The text appears as green and in Tahoma as expected, but the clip-path attribute is forced to #clip2 after loading into Inkscape. No matter what you do, the clipping always comes from the CSS and is set to #clip2.
As a result, there is no way to set the clip at all, short of removing from the class or adding it to a new one-off class. This applies to masking as well.
- Version: Inkscape 1.1 (c68e22c3, 2021-05-23)
- OS: Windows Version 10.0.19041 Build 19041
Edited by David Burghoff