mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Added case selectors for NS_STYLE_BORDER_STYLE_HIDDEN. Treated just like
NS_STYLE_BORDER_STYLE_NONE
This commit is contained in:
parent
fe52d530ae
commit
df668a079e
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user