diff --git a/layout/base/nsCSSRendering.cpp b/layout/base/nsCSSRendering.cpp index 0057bdea145d..faf64760676e 100644 --- a/layout/base/nsCSSRendering.cpp +++ b/layout/base/nsCSSRendering.cpp @@ -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: diff --git a/layout/html/style/src/nsCSSRendering.cpp b/layout/html/style/src/nsCSSRendering.cpp index 0057bdea145d..faf64760676e 100644 --- a/layout/html/style/src/nsCSSRendering.cpp +++ b/layout/html/style/src/nsCSSRendering.cpp @@ -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: