This shows the same svg referenced three times using object, embed and iframe. The svg itself queries window.frameElement to find out which element is referencing it, and outputs the element type as text inside the svg.
window.frameElement