bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.

This commit is contained in:
karnaze@netscape.com
2002-02-19 15:48:28 +00:00
parent e3bc7291fc
commit 9a13af360b
67 changed files with 10162 additions and 1484 deletions

View File

@@ -93,7 +93,8 @@ public:
* @param aPixelToTwips - the number of twips in a pixel.
* @return - the basis for percent calculations
*/
virtual nscoord CalcPctAdjTableWidth(const nsHTMLReflowState& aReflowState,
virtual nscoord CalcPctAdjTableWidth(nsIPresContext& aPresContext,
const nsHTMLReflowState& aReflowState,
nscoord aAvailWidth,
float aPixelToTwips);
void Dump(PRInt32 aIndent);
@@ -159,7 +160,8 @@ protected:
* @param aPixelToTwips - the number of twips in a pixel.
* @return - the adjusted basis including table border, padding and cell spacing
*/
nscoord AssignPctColumnWidths(const nsHTMLReflowState& aReflowState,
nscoord AssignPctColumnWidths(nsIPresContext& aPresContext,
const nsHTMLReflowState& aReflowState,
nscoord aBasis,
PRBool aTableIsAutoWidth,
float aPixelToTwips);