test DOM Level 3 Event flow XHTML + SVGT

Above there must be two blue rects, each contained in its own SVGT document, each referenced from its own XHTML document.
By clicking each, a textline describing the corresponding event flow must appear below the rect.

For "event capture" this must read:

body -> div -> object -> SVGroot -> g -> rect

and for "event bubble" it must be

rect -> g -> SVGroot -> object -> div -> body.