> Since a text node is not an element it does not seem to have a height
> width or position.  I suppose that is why the Firebug code has
>                        if(elt.nodeType === 3)
>                            elt = elt.parentNode;
>
>
so the only(?) way to highlight the text (and only the text) would be
wrapping it with an element like <span>, and then highlight the new created
span element instead? Any other alternative?

---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.

Reply via email to