Added case selectors for NS_STYLE_BORDER_STYLE_HIDDEN. Treated just like

NS_STYLE_BORDER_STYLE_NONE
This commit is contained in:
troy%netscape.com 1999-08-24 21:47:55 +00:00
parent fe52d530ae
commit df668a079e
2 changed files with 4 additions and 0 deletions

View File

@ -367,6 +367,7 @@ void nsCSSRendering::DrawSide(nsIRenderingContext& aContext,
PRInt32 np;
switch (theStyle) {
case NS_STYLE_BORDER_STYLE_NONE:
case NS_STYLE_BORDER_STYLE_HIDDEN:
case NS_STYLE_BORDER_STYLE_BLANK:
return;
@ -2513,6 +2514,7 @@ PRInt16 r,g,b;
aRenderingContext.DrawPolyline(polypath,curIndex);
break;
case NS_STYLE_BORDER_STYLE_NONE:
case NS_STYLE_BORDER_STYLE_HIDDEN:
case NS_STYLE_BORDER_STYLE_BLANK:
break;
case NS_STYLE_BORDER_STYLE_DOTTED:

View File

@ -367,6 +367,7 @@ void nsCSSRendering::DrawSide(nsIRenderingContext& aContext,
PRInt32 np;
switch (theStyle) {
case NS_STYLE_BORDER_STYLE_NONE:
case NS_STYLE_BORDER_STYLE_HIDDEN:
case NS_STYLE_BORDER_STYLE_BLANK:
return;
@ -2513,6 +2514,7 @@ PRInt16 r,g,b;
aRenderingContext.DrawPolyline(polypath,curIndex);
break;
case NS_STYLE_BORDER_STYLE_NONE:
case NS_STYLE_BORDER_STYLE_HIDDEN:
case NS_STYLE_BORDER_STYLE_BLANK:
break;
case NS_STYLE_BORDER_STYLE_DOTTED: