Make mtdInnerFrame more like the inner frame of non-MathML table cells. Bug

354510, r+sr=rbs
This commit is contained in:
bzbarsky%mit.edu 2006-09-28 01:04:46 +00:00
Родитель 600a52cbf8
Коммит 6e536461e8
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -307,7 +307,10 @@ public:
virtual PRBool IsFrameOfType(PRUint32 aFlags) const;
protected:
nsMathMLmtdInnerFrame(nsStyleContext* aContext) : nsBlockFrame(aContext) {}
nsMathMLmtdInnerFrame(nsStyleContext* aContext) : nsBlockFrame(aContext) {
// Set the right bits -- see what NS_NewTableCellInnerFrame does
AddStateBits(NS_BLOCK_SPACE_MGR | NS_BLOCK_MARGIN_ROOT);
}
virtual ~nsMathMLmtdInnerFrame();
virtual PRIntn GetSkipSides() const { return 0; }