mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
refactor the setting of continous borders in the border collapse computation bug 452319 r=fantasia sr=roc
* * * * * * * * * * * *
This commit is contained in:
parent
04b518500d
commit
17845292a3
File diff suppressed because it is too large
Load Diff
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user