b=379419, bogus assertion in border code with NS_STYLE_BORDER_RULES_MARKER, r+sr=dbaron

git-svn-id: svn://10.0.0.236/trunk@226684 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
vladimir%pobox.com 2007-05-20 22:44:45 +00:00
parent 15cb385331
commit f00acd618e

View File

@ -1618,6 +1618,11 @@ DrawBorderSides(gfxContext *ctx,
radiiPtr = &radii[0];
}
// if this got through, and it shouldn't have (see bug 379419),
// just ignore this.
if (borderRenderStyle & NS_STYLE_BORDER_STYLE_RULES_MARKER)
return;
// disable pretty drawing of dotted/dashed borders if
// we have a border radius
if (radiiPtr)