I am currently experimenting with svg in html and have a stack of overlapping foreignObject elements. I would like to be able to bring an individual foreignObject to the front of the stack using javascript.
I can't seem to get the zIndex property to work with them and I'm not sure what else I could try.
Is it possible? How could I do this?