I want to interactively decide which <svg> elements to show or hide. I use javascripts to change the <svg> display attribute. This works fine in Firefox on a windows platform. See attached SVG file.
Created attachment 9956 [details] simple test case
Created attachment 10335 [details] First attempt This should fix the bug. I looked at FF on mac and it too could show the svg after setting display=inline. Cheers, Rob.
Comment on attachment 10335 [details] First attempt r=me
Comment on attachment 10335 [details] First attempt I don't think this is right. We need to ask hyatt here.
After testing against ToT, it seems to work! I think it is due to r16191 (FOUC fixes). Cheers, Rob.
Created attachment 10439 [details] Expected Result in PNG This is the expected result. There are two text strings, "Gain" which lies below the triangle, and "1" which lies inside the triangle.
Not quite there yet. The "1" text is not rendered. See the expect results attachments. I am not sure if this warrants a new bug report...
A simpler test case might make this more clear what's wrong here.
Created attachment 10525 [details] Comparision between WebKit (9/13/2006) vs IE w/ASV3 Look at the attached image. Notice that the text "1" is missing. I believe this is a new issue where "clip-path" attribute are not obeyed for <text> elements. I believe this bug fixed and I will create a new bug for the <text> clip-path issue.
(In reply to comment #9) > I believe this bug fixed and I will create a new bug for the <text> clip-path > issue. Eric Lim, please change the resolution of the bug to "FIXED" if this issue is fixed. Thanks!