Hi,

If I have a pointer to a nsTextFrame,  how can I find out if a
nsTextFrame belong to an anchor?
I know i can get the corresponding element of a frame by GetContent(),
but that does not tell me if this node is an anchor.

I have cases like this:
<a> t1 <b> t2 <i> t3 </i> </b> </a>

all text frame of t1, t2, t3 are an anchor, how can I find out
programmically?
since t3's text node ' parent is only an 'i' element and t2's text
node's parent is only an 'b'
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to