Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-123610

Use element does not work correctly with visibility attribute

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7
    • SVG Support
    • None

    Description

      The SVG standard states that the element referenced by <use> should be treated as if it was deep cloned. This is not the case in Qt Svg, where the <use> element only keeps a reference (pointer) to the element referenced by use. In this case, the <use> element is not the parent of the referenced element, which causes issues with the visibility attribute. By checking the results below in the attached files, it can be noticed that the rendered SVG file by Qt Svg is different from other browsers.

       

       

      Attachments

        1. googlechrome.png
          googlechrome.png
          33 kB
        2. qtsvg.png
          qtsvg.png
          34 kB
        3. use_visibility.svg
          0.5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hatemelkharashy Hatem ElKharashy
            hatemelkharashy Hatem ElKharashy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes