Skip to content

Support visibility property in style attribute

Migrated from:

Steps to reproduce:

  • open Inkscape
  • open sample file:

visibility_.svg

What happened?

  • Inkscape shows two rectangles.

What should have happened?

The group defines visibility: visible, which is overridden by the visibility property of the yellow rectangle (visibility: hidden). The corresponding section of the specification: https://www.w3.org/TR/SVG11/painting.html#VisibilityProperty (Part of SVG 1.1)

Objects that have visibility: hidden or collapsed set should also be marked as invisible in the objects dialog. Making them visible with said dialog should either change the attribute to visibility: visible or display: inline.

Inkscape Version and Operating System:

  • Inkscape Version: 1.1-dev (6b4d57f, 2020-04-01)
  • Operating System: Windows 10
  • Operating System version: 10.0.18362

Migration info

Replicated since 0.42.2.

I can't believe there isn't a duplicate for that somewhere?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information