Hi tech guys,
When I tried to building firefox 3.5.2, I got a warning on
mozilla-1.9.1/layout/generic/nsTextFrameThebes.cpp:5738.
5735 PRBool
5736 nsTextFrame::IsFloatingFirstLetterChild()
5737 {
5738 if (!GetStateBits() & TEXT_FIRST_LETTER)
5739 return PR_FALSE;
5740 nsIFrame* frame = GetParent();
5741 if (!frame || frame->GetType() != nsGkAtoms::letterFrame)
5742 return PR_FALSE;
5743 return frame->GetStyleDisplay()->IsFloating();
5744 }
I think it may be wrong, because GetStateBits function returns a masks
value,
it doesn't make any sense for the opertion of 'not(bits) & bit'
Regards,
Bin Tian
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout