I am trying to highlight certain areas of the main html page from inside a FB extension.
The area might be composed of multiple nodes of different nodeType. I have tried to use the Firebug.Inspector.highlightObject() function that accepts an array of elements. So far so good. The problem I have is that if I higlight a node of nodeType == 3 (a text node) the highlightObject() does not highlight the area of the text, but it highlights the parentNode, and that completely screw the purpose of my extension, which is marking certain areas of the inspected page. Is that a wanted behaviour? I was thinkig to wrap it with a <span> tag, but I would like to avoid any alteration of the original page. How could I limit the highight to the text node? Thank you in advance. dd -- You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/firebug?hl=en.
