mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 21:58:06 +00:00
Add comment.
This commit is contained in:
parent
d4c2713229
commit
acdc28470a
@ -590,6 +590,7 @@ GetNearestContainingBlock(nsIFrame* aFrame, nsMargin& aContentArea)
|
||||
aFrame = aFrame->GetParent();
|
||||
while (aFrame) {
|
||||
nsIAtom* frameType = aFrame->GetType();
|
||||
// XXXldb Should this use nsIFrame::IsContainingBlock ?
|
||||
PRBool isBlock =
|
||||
(frameType == nsLayoutAtoms::blockFrame) ||
|
||||
(frameType == nsLayoutAtoms::areaFrame);
|
||||
|
Loading…
x
Reference in New Issue
Block a user