зеркало из https://github.com/mozilla/gecko-dev.git
Table rows/cols and groups don't paint their backgrounds, so CanPaintBackground must return false. b=236053 r+sr=roc
This commit is contained in:
Родитель
cd405b6c1b
Коммит
26521d3245
|
@ -116,6 +116,9 @@ public:
|
|||
nsFramePaintLayer aWhichLayer,
|
||||
PRUint32 aFlags = 0);
|
||||
|
||||
// column groups don't paint their own background -- the cells do
|
||||
virtual PRBool CanPaintBackground() { return PR_FALSE; }
|
||||
|
||||
NS_IMETHOD GetFrameForPoint(nsIPresContext* aPresContext,
|
||||
const nsPoint& aPoint,
|
||||
nsFramePaintLayer aWhichLayer,
|
||||
|
|
|
@ -117,6 +117,9 @@ public:
|
|||
nsFramePaintLayer aWhichLayer,
|
||||
PRUint32 aFlags = 0);
|
||||
|
||||
// column groups don't paint their own background -- the cells do
|
||||
virtual PRBool CanPaintBackground() { return PR_FALSE; }
|
||||
|
||||
NS_IMETHOD GetFrameForPoint(nsIPresContext* aPresContext,
|
||||
const nsPoint& aPoint,
|
||||
nsFramePaintLayer aWhichLayer,
|
||||
|
|
|
@ -103,6 +103,9 @@ public:
|
|||
nsFramePaintLayer aWhichLayer,
|
||||
PRUint32 aFlags = 0);
|
||||
|
||||
// rows don't paint their own background -- the cells do
|
||||
virtual PRBool CanPaintBackground() { return PR_FALSE; }
|
||||
|
||||
NS_IMETHOD GetFrameForPoint(nsIPresContext* aPresContext,
|
||||
const nsPoint& aPoint,
|
||||
nsFramePaintLayer aWhichLayer,
|
||||
|
|
|
@ -143,6 +143,9 @@ public:
|
|||
nsFramePaintLayer aWhichLayer,
|
||||
PRUint32 aFlags = 0);
|
||||
|
||||
// row groups don't paint their own background -- the cells do
|
||||
virtual PRBool CanPaintBackground() { return PR_FALSE; }
|
||||
|
||||
/** ask all children to paint themselves, without clipping (for cells with rowspan>1)
|
||||
* @see nsIFrame::Paint
|
||||
*/
|
||||
|
|
|
@ -116,6 +116,9 @@ public:
|
|||
nsFramePaintLayer aWhichLayer,
|
||||
PRUint32 aFlags = 0);
|
||||
|
||||
// column groups don't paint their own background -- the cells do
|
||||
virtual PRBool CanPaintBackground() { return PR_FALSE; }
|
||||
|
||||
NS_IMETHOD GetFrameForPoint(nsIPresContext* aPresContext,
|
||||
const nsPoint& aPoint,
|
||||
nsFramePaintLayer aWhichLayer,
|
||||
|
|
|
@ -117,6 +117,9 @@ public:
|
|||
nsFramePaintLayer aWhichLayer,
|
||||
PRUint32 aFlags = 0);
|
||||
|
||||
// column groups don't paint their own background -- the cells do
|
||||
virtual PRBool CanPaintBackground() { return PR_FALSE; }
|
||||
|
||||
NS_IMETHOD GetFrameForPoint(nsIPresContext* aPresContext,
|
||||
const nsPoint& aPoint,
|
||||
nsFramePaintLayer aWhichLayer,
|
||||
|
|
|
@ -103,6 +103,9 @@ public:
|
|||
nsFramePaintLayer aWhichLayer,
|
||||
PRUint32 aFlags = 0);
|
||||
|
||||
// rows don't paint their own background -- the cells do
|
||||
virtual PRBool CanPaintBackground() { return PR_FALSE; }
|
||||
|
||||
NS_IMETHOD GetFrameForPoint(nsIPresContext* aPresContext,
|
||||
const nsPoint& aPoint,
|
||||
nsFramePaintLayer aWhichLayer,
|
||||
|
|
|
@ -143,6 +143,9 @@ public:
|
|||
nsFramePaintLayer aWhichLayer,
|
||||
PRUint32 aFlags = 0);
|
||||
|
||||
// row groups don't paint their own background -- the cells do
|
||||
virtual PRBool CanPaintBackground() { return PR_FALSE; }
|
||||
|
||||
/** ask all children to paint themselves, without clipping (for cells with rowspan>1)
|
||||
* @see nsIFrame::Paint
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче