From d2e22899e11fcce47120ddd359bedeb4f18167ce Mon Sep 17 00:00:00 2001 From: "peterl@netscape.com" Date: Tue, 13 Oct 1998 19:10:25 +0000 Subject: [PATCH] set correct border style --- content/html/content/src/nsHTMLTableElement.cpp | 8 ++++---- layout/html/content/src/nsHTMLTableElement.cpp | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/content/html/content/src/nsHTMLTableElement.cpp b/content/html/content/src/nsHTMLTableElement.cpp index ac0b9d190e55..98e31fc91ce0 100644 --- a/content/html/content/src/nsHTMLTableElement.cpp +++ b/content/html/content/src/nsHTMLTableElement.cpp @@ -474,16 +474,16 @@ MapTableBorderInto(nsIHTMLAttributes* aAttributes, spacing->mBorder.SetLeft(twips); if (spacing->mBorderStyle[0] == NS_STYLE_BORDER_STYLE_NONE) { - spacing->mBorderStyle[0] = NS_STYLE_BORDER_STYLE_SOLID; + spacing->mBorderStyle[0] = NS_STYLE_BORDER_STYLE_OUTSET; } if (spacing->mBorderStyle[1] == NS_STYLE_BORDER_STYLE_NONE) { - spacing->mBorderStyle[1] = NS_STYLE_BORDER_STYLE_SOLID; + spacing->mBorderStyle[1] = NS_STYLE_BORDER_STYLE_OUTSET; } if (spacing->mBorderStyle[2] == NS_STYLE_BORDER_STYLE_NONE) { - spacing->mBorderStyle[2] = NS_STYLE_BORDER_STYLE_SOLID; + spacing->mBorderStyle[2] = NS_STYLE_BORDER_STYLE_OUTSET; } if (spacing->mBorderStyle[3] == NS_STYLE_BORDER_STYLE_NONE) { - spacing->mBorderStyle[3] = NS_STYLE_BORDER_STYLE_SOLID; + spacing->mBorderStyle[3] = NS_STYLE_BORDER_STYLE_OUTSET; } } } diff --git a/layout/html/content/src/nsHTMLTableElement.cpp b/layout/html/content/src/nsHTMLTableElement.cpp index ac0b9d190e55..98e31fc91ce0 100644 --- a/layout/html/content/src/nsHTMLTableElement.cpp +++ b/layout/html/content/src/nsHTMLTableElement.cpp @@ -474,16 +474,16 @@ MapTableBorderInto(nsIHTMLAttributes* aAttributes, spacing->mBorder.SetLeft(twips); if (spacing->mBorderStyle[0] == NS_STYLE_BORDER_STYLE_NONE) { - spacing->mBorderStyle[0] = NS_STYLE_BORDER_STYLE_SOLID; + spacing->mBorderStyle[0] = NS_STYLE_BORDER_STYLE_OUTSET; } if (spacing->mBorderStyle[1] == NS_STYLE_BORDER_STYLE_NONE) { - spacing->mBorderStyle[1] = NS_STYLE_BORDER_STYLE_SOLID; + spacing->mBorderStyle[1] = NS_STYLE_BORDER_STYLE_OUTSET; } if (spacing->mBorderStyle[2] == NS_STYLE_BORDER_STYLE_NONE) { - spacing->mBorderStyle[2] = NS_STYLE_BORDER_STYLE_SOLID; + spacing->mBorderStyle[2] = NS_STYLE_BORDER_STYLE_OUTSET; } if (spacing->mBorderStyle[3] == NS_STYLE_BORDER_STYLE_NONE) { - spacing->mBorderStyle[3] = NS_STYLE_BORDER_STYLE_SOLID; + spacing->mBorderStyle[3] = NS_STYLE_BORDER_STYLE_OUTSET; } } }