-
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
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.