Hi, >From my understanding, iframe is represented by nsSubDocumentFrame.
And nsSubDocumentFrame does not have its own Paint() method, so it will call its parent (nsLeafFrame) 'sPaint method. But when I look at the Paint() of nsLeafFrame's Paint() method, it just calls nsFrame's PaintSelf() method. And the nsFrame's PaintSelf() method just call nsCSSRendering's PaintBackground, PaintBorder, PaintOutline method. My question is where is the code which walks thru the children of iframe and paint them. Thank you. _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

