Select by click doesn't work on embedded SVG and other subdocuments

NEW
Unassigned

Status

Other Applications
DOM Inspector
7 years ago
7 years ago

People

(Reporter: crussell, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

1. Inspect http://labs.silverorange.com/archive/2006/january/howtoinclude
2. start select by click
3. click SVG object

Expected results:
The SVG document's corresponding element is shown.  Alternatively, we could treat the SVG object as opaque (like we would an IMG), and just highlight the SVG's #document node if showSubDocuments is true or just the OBJECT node itself if it's not.

Actual results:
Nothing happens and DOM Inspector remains in select by click mode.

This is because listeners never get installed on the SVG document, and since it's embedded, it doesn't bubble out of the OBJECT's frame.  dom.js:DVr_FindDocuments is junk.  Use methods of the doc shell and its friends.
You need to log in before you can comment on or make changes to this bug.