What steps will reproduce the problem?
1. Display an SVG document with at least one "display='none'" element that
contains a <text> element
What is the expected output? What do you see instead?
Nothing is supposed to happen, but instead, the app crashes with an underflow
exception.
What version of the product are you using? On what operating system?
-
Please provide any additional information below.
This can be fixed by checking the "hidden" flag in the piece of code popping
the <text> transform from the transform stack in the "endElement" method.
Currently, the transform is not pushed in "startElement" but later popped in
"endElement".
Generally, I think it would be best (at least better) if elements whose
"display" attribute is "none" were skipped altogether.
Original issue reported on code.google.com by reimar.t...@googlemail.com on 8 Feb 2012 at 8:41
Original issue reported on code.google.com by
reimar.t...@googlemail.com
on 8 Feb 2012 at 8:41