refactor the setting of continous borders in the border collapse computation bug 452319 r=fantasia sr=roc

* * *
* * *
* * *
* * *
This commit is contained in:
Bernd 2009-06-21 18:31:40 +02:00
parent 04b518500d
commit 17845292a3
2 changed files with 950 additions and 550 deletions

File diff suppressed because it is too large Load Diff

View File

@ -303,6 +303,8 @@ public:
* see nsTablePainter about continuous borders
*/
nscoord GetContinuousLeftBCBorderWidth() const;
void SetContinuousLeftBCBorderWidth(nscoord aValue);
friend class nsDelayedCalcBCBorders;
void SetBCDamageArea(const nsRect& aValue);
@ -978,6 +980,11 @@ nsTableFrame::GetContinuousLeftBCBorderWidth() const
return BC_BORDER_RIGHT_HALF_COORD(aPixelsToTwips, mBits.mLeftContBCBorder);
}
inline void nsTableFrame::SetContinuousLeftBCBorderWidth(nscoord aValue)
{
mBits.mLeftContBCBorder = (unsigned) aValue;
}
class nsTableIterator
{
public: