Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-765

Text underline not affected by visibility="hidden" (but text is)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • 1.7
    • None
    • CSS
    • None
    • Operating System: Linux
      Platform: All

    Description

      View this document in batik:

      <?xml version="1.0"?>
      <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
      "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" >
      <svg width="100" height="100" viewBox="0 0 100 100"
      xmlns="http://www.w3.org/2000/svg">
      <g visibility="hidden">
      <text text-decoration="underline" x="40" y="40">foo</text>
      </g>
      </svg>

      You should see nothing, but instead you see the underline beneath the text (but
      no actual text).

      So it's like the text is respecting the "hidden" visibility while the underline
      is not.

      Attachments

        Issue Links

          Activity

            People

              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              archie Archie Cobbs
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: