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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: CSS
    • Labels:
      None
    • Environment:
      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

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              archie Archie Cobbs

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment