What steps will reproduce the problem?
1. I am trying to set the visibility on a group of elements when the
document loads, but only text elements are affected by the visibility
attribute. None of the other elements are affected by the visibility
attribute.
2. The following simplified html file reproduces the problem:
<html>
<head>
<meta name="svg.render.forceflash" content="true" />
<script src="../src/svg.js" data-path="../src/"></script>
<script>
svgweb.addOnLoad(function() {
var Page1Pointer = document.getElementById("Page1");
Page1Pointer.setAttribute("visibility", "visible");
});
</script>
</head>
<body>
<script type="image/svg+xml">
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="600">
<g id="Page1" visibility="hidden" >
<text x="150" y="400" style="stroke: #FFA500; fill: #FFA500;
font-family: 'Arial'; font-size: 18px; ">ORANGE CIRCLE</text>
<circle cx="225" cy="448" r="40" stroke="#FFA500" fill="#FFA500" />
</g>
</svg>
</script>
</body>
</html>
What is the expected output? What do you see instead?
I expect to see an orange circle and text 'ORANGE CIRCLE', but only see
the text. The same problem occurs with any non-text element, such as
path, rect, etc.
What version of the product are you using? On what operating system,
browser, and version of Flash?
SVB WEB (r 984)
Windows XP, SP3
Problem occurs on all browsers I tested which includes IE, Firefox, Opera
and Chrome
Flash 10,0,32,18
Please provide any additional information below. Reduced test cases are
always appreciated!
Original issue reported on code.google.com by donna.an...@sas.com on 24 Nov 2009 at 6:58
Original issue reported on code.google.com by
donna.an...@sas.com
on 24 Nov 2009 at 6:58